help-make
[Top][All Lists]
Advanced

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

a really dumb question: why can't I eval just the recipe


From: Mark Galeck (CW)
Subject: a really dumb question: why can't I eval just the recipe
Date: Mon, 10 Jan 2011 16:19:59 -0800

Hello,

I know this must be a dumb question...  In the manual, the example it gives for 
eval function, involves the multiline variable that is a whole rule.  Why can't 
I eval just the recipe?

Why doesn't this work:

EMPTY :=#
TAB :=$(EMPTY)  #

FOOBAR := $(TAB)touch foobar#

.PHONY: foobar
foobar:
$(eval $(call FOOBAR))




reply via email to

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