help-make
[Top][All Lists]
Advanced

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

Re: How to get the 2nd, 3rd prerequisite, etc?


From: Paul Smith
Subject: Re: How to get the 2nd, 3rd prerequisite, etc?
Date: Tue, 24 Nov 2009 23:53:28 -0500

On Tue, 2009-11-24 at 22:09 -0600, Peng Yu wrote:
> $< gives the first prerequisite. I'm wondering how to get the 2nd,
> 3rd, ..., prerequisite.

Look up the "word" function in the GNU make manual (combined with $^)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist





reply via email to

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