help-make
[Top][All Lists]
Advanced

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

Re: 8.6 The call Function


From: Paul Smith
Subject: Re: 8.6 The call Function
Date: Sun, 12 Jun 2011 16:46:18 -0400

On Sat, 2011-06-11 at 15:12 +0430, ali hagigat wrote:
> map = $(foreach a,$(2),$(call $(1),$(a)))
> o = $(call map,origin,o map MAKE)
> ------------------------------------
> It seems that $(1) is "origin" in each iteration of 'foreach'. If not
> what it is then?

$(1) is "origin".

But $(2) is different.

-- 
-------------------------------------------------------------------------------
 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]