Paul,
On Thursday 06 April 2006 16:18, Paul D. Smith wrote:
> $(PROG): $(SRC)
> gcc -o $@ $? $(patsubst %.c,%.o,$(filter-out $?,$^))
Nitpicking: this will change the linking order, depending on what
objects were modified since the most recent linkage. Portable
programs should not depend on this. Though I have encountered the
ones that did :)
Regards,
Alexey.
--
Your destiny, they claim, lies along
a more subtle though crucial course.
-- Supox, SC2
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make