Consider the makefile
-------snip--------
DEFINED1 :=
ifdef DEFINED1 STATUS1 := 1:yes else STATUS1 := 1:no endif
DEFINED2 := sometext
ifdef DEFINED2 STATUS2 := 2:yes else STATUS2 := 2:no endif
MESSAGE = KEEP
phony1: MESSAGE += SMILING phony2: MESSAGE +=
all: phony1 phony2 @echo $(STATUS1) $(STATUS2)
phony1: @echo ">>$(MESSAGE)<<"
phony2: @echo ">>$(MESSAGE)<<"
-------snip-------- I would expect the ouput
>>KEEP SMILING<< >>KEEP<< 1:yes 2:yes
but I get (using make 3.81beta1)
>>KEEP SMILING<< >><< 1:no 2:yes
-- Dr. Jörn von Holten Senior Consultant
Barco Orthogon AG
Hastedter Osterdeich 222
D-28207 Bremen
Tel +49-421-20122-426
Fax +49-421-20122-999
www.barco-orthogon.com
[EMAIL PROTECTED]
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make