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:guent...@gmail.com] 
Sent: Wednesday, May 30, 2012 3:36 PM
To: Mark Galeck (CW)
Cc: help-make@gnu.org
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

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to