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

Reply via email to