Thank you Philip!  But... I already knew that...  that is, the BAR gets nothing 
assigned, that's obvious, and info just confirms that.  The question is, why 
doesn't it get anything assigned??  It is only inside eval that this happens... 
 if I just do

FOO:=foo
BAR:=$(FOO)

bar:
        echo $(BAR)

everything is fine...  that is my question, what is the difference???  

-----Original Message-----
From: Philip Guenther [mailto:[email protected]] 
Sent: Tuesday, February 09, 2010 9:02 PM
To: Mark Galeck (CW)
Cc: [email protected]
Subject: Re: why is indirect assignment inside eval, not working??

On Tuesday, February 9, 2010, Mark Galeck (CW) <[email protected]> wrote:
> define FOOBAR
> FOO:=foo
> BAR:=$(FOO)
> endef
>
> $(eval $(call FOOBAR))

Conside the output if you instead write
$(info $(call FOOBAR))

That shows you what $(eval) is seeing.  Make more sense?

Philip Guenther


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to