Values assigned in pattern specific variable values are not properly
exported.
Using the following makefile, issue "make". You will observe that
the environment variable value for the target "three.z" is missing.
# Begin
all: one two three.z
one: VAL = One
two: VAL = Two
%.z: VAL = Three
export VAL
one two %.z:
@ echo "\$$VAL = $$VAL"
@ echo "$$(VAL) = $(VAL)"
# End
--
Darren Hiebert <[EMAIL PROTECTED]>
XonTech, Inc. (256) 971-2977
- Re: Bug in pattern specific variable values Darren Hiebert
- Re: Bug in pattern specific variable values Paul D. Smith
