help-make
[Top][All Lists]
Advanced

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

eval with/without define differs


From: Larry Evans
Subject: eval with/without define differs
Date: Sun, 08 May 2011 15:31:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6

The attached simp.mk make fiil produces output:
--{--simp.mk out--
remake -f simp.mk not_echo yes_echo
NotDef_aaa=aaa
NotDef_yyy=aaa
NotDef=zzz
call_NotDef_template_yyy=NotDef:=yyy
YesDef_aaa=aaa
YesDef_yyy=aaa
YesDef=aaa
call_YesDef_template_yyy=
--}--simp.mk out--

when I would have expected the same output for the YesDef portion
as for the NOtDef portion since the only difference (besides the
names) is the NotDef_template simply didn't use a define
to define the value.  My understanding, base upon:

  http://www.gnu.org/software/make/manual/make.html#Multi_002dLine

and:

  http://www.gnu.org/software/make/manual/make.html#Eval-Function

is that they should work the same.

What am I missing?

-regards,
Larry

Attachment: simp.mk
Description: Text document


reply via email to

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