Hi,

I have a problem with target-pecific variables. A Makefile to demonstrate
it
<file>
a = 1

bug: a +=

again-work: a +=
again-work: a += 2

work bug again-work:
        @echo "$@: a = $(a)"
</file>

I expect
$ make bug
bug: a = 1

But I see only
$ make bug
bug: a = 

The other targets give me no surprise
$ make work
work: a = 1
$ make again-work
again-work: a = 1 2

I'm using make-3.80 with eval-conditional and eval-crash patches on a 
Linux RedHat-7.3 machine.

Sincerely,
Makim Nikulin



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to