CC: | Sergei Skokov <sskokov [...] nvidia.com> |
Subject: | target specific variables evaluated incorrectly |
Date: | Tue, 17 Jul 2012 19:34:37 -0700 |
To: | "bug-makepp [...] rt.cpan.org" <bug-makepp [...] rt.cpan.org> |
From: | Yuri Shtil <yshtil [...] nvidia.com> |
Hi,
When the following code runs via gnu make and makepp-2.0 the results are different:
# command 'makepp a'
# gives MYVAR which has target specific EXTRA_VAL but misses VAL
a : MYVAR += EXTRA_VAL
MYVAR += VAL
ifdef MAKE_VERSION
a :
else
$(phony a):
endif
@echo MYVAR=$(MYVAR)
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------