help-make
[Top][All Lists]
Advanced

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

a question about $(call function


From: ali hagigat
Subject: a question about $(call function
Date: Sat, 11 Jun 2011 14:49:29 +0430

8.6 The call Function
If variable is the name of a builtin function, the builtin function is
always invoked (even
if a make variable by that name also exists).
------------------------------------------
In the following example with make, 3.81 why var2 is aba?

kk=$(1)00
aba=$(1)11
var1=kk
$(call var1)=aba
var2=$(call $(call var1),pp)
all: ;
$(warning var2=$(var2))


makefile27:7: var2=aba



reply via email to

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