help-make
[Top][All Lists]
Advanced

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

newbie question about template expansion


From: gharding3
Subject: newbie question about template expansion
Date: Thu, 25 Feb 2010 09:08:11 -0800 (PST)

HI,

Trying to figure out exactly what I'm doing wrong... I've tried using $(eval
foobar), $(eval ($call foobar)), each time the result is the same: nothing
is printed.  Any ideas?

Makefile
========

define foobar
FOO = foo
BAR = bar
endef

$(eval foobar)

build:
        echo $(FOO)
        echo $(BAR)

Output
======

echo

echo


-- 
View this message in context: 
http://old.nabble.com/newbie-question-about-template-expansion-tp27714479p27714479.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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