[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: is there any way to get at prerequisites of "current" rule
From: |
Mark Galeck (CW) |
Subject: |
RE: is there any way to get at prerequisites of "current" rule |
Date: |
Wed, 30 May 2012 16:57:36 -0700 |
Yes of course I am aware of and use all these methods.
But, as Larry Wall of Perl says "all good programmers are lazy".
I am not sure if I am good, but certainly I am lazy.
So I would rather just make a global change of $^ into some other $... or some
other construct, which would get me the current rule prerequisites, and that
would fix all the problems at once.
With the methods you are describing, it is a labourious process.
-----Original Message-----
From: Philip Guenther [mailto:address@hidden
Sent: Wednesday, May 30, 2012 3:36 PM
To: Mark Galeck (CW)
Cc: address@hidden
Subject: Re: is there any way to get at prerequisites of "current" rule
$^ is the complete list of prereq's for the target. If the recipe
wants to process a subset of those, it should either
a) use $(filter) or $(filter-out) to select the ones it wants, or
b) put the subset that it wants to process into a variable and then