help-make
[Top][All Lists]
Advanced

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

Re: how to explain this line ?


From: Eric Melski
Subject: Re: how to explain this line ?
Date: Tue, 5 Feb 2013 09:42:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 02/05/2013 07:56 AM, Paul Smith wrote:
On Tue, 2013-02-05 at 13:45 +0800, horseriver wrote:
   $(filter-out FORCE,$^) represent what?

$^ will expand to the list of prerequisites of the rule which are newer
than the target.

Small correction: $^ is the list of all prerequisites, not just those which are newer than the output (which would be $?).


So in this case, that operation returns all the prerequisites of the
rule which are newer than the target, and which are not the "FORCE"
prerequisite.

Per the above correction, the result is _all_ prerequisites of the rule which are not the "FORCE" prerequisite, regardless of timestamp relative to the output target.

best regards,

Eric Melski
Chief Architect
Electric Cloud, Inc.
http://blog.melski.net/




reply via email to

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