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 <[email protected]>          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


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to