help-make
[Top][All Lists]
Advanced

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

why is indirect assignment inside eval, not working??


From: Mark Galeck (CW)
Subject: why is indirect assignment inside eval, not working??
Date: Tue, 9 Feb 2010 20:49:46 -0800

Hello,


define FOOBAR
FOO:=foo
BAR:=$(FOO)
endef

$(eval $(call FOOBAR))

bar:
                echo $(BAR)
                
foo:
                echo $(FOO)




OK, foo is printing as expected, but not bar:

C:\Temp\subdir>make foo
echo foo
foo

C:\Temp\subdir>make bar
echo
ECHO is off.


Why???  Thank you!  Mark





reply via email to

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