Re: target-specific appending with an empty value

2003-07-07 Thread Oliver Schmidt
Hi, the following patch corrects the described bug, i.e. the makefile === Makefile Begin == a = 1 targ: a += targ: @echo "$@: a = $(a)" === Makefile End === gives now the correct answer: "targ: a = 1". Best Regards, Oliver Index: expand.c ===

target-specific appending with an empty value

2003-07-06 Thread Maksim A. Nikulin
Hi, I have a problem with target-pecific variables. A Makefile to demonstrate it a = 1 bug: a += again-work: a += again-work: a += 2 work bug again-work: @echo "$@: a = $(a)" I expect $ make bug bug: a = 1 But I see only $ make bug bug: a = The other targets give me no surprise $