help-make
[Top][All Lists]
Advanced

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

8.6 The call Function


From: ali hagigat
Subject: 8.6 The call Function
Date: Sat, 11 Jun 2011 15:12:27 +0430

8.6 The call Function
The call function can be nested. Each recursive invocation gets its
own local values for
$(1), etc. that mask the values of higher-level call.
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?



reply via email to

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