help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request for help in setting a variable in GNU Make.


From: Alexey Neyman
Subject: Re: Request for help in setting a variable in GNU Make.
Date: Thu, 6 Apr 2006 16:34:16 +0400
User-agent: KMail/1.6.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]