help-make
[Top][All Lists]
Advanced

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

RE: why is indirect assignment inside eval, not working??


From: Mark Galeck (CW)
Subject: RE: why is indirect assignment inside eval, not working??
Date: Tue, 9 Feb 2010 21:06:59 -0800

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:address@hidden 
Sent: Tuesday, February 09, 2010 9:02 PM
To: Mark Galeck (CW)
Cc: address@hidden
Subject: Re: why is indirect assignment inside eval, not working??

On Tuesday, February 9, 2010, Mark Galeck (CW) <address@hidden> 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




reply via email to

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