[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem resp. bug with "target sepcific variable values"
From: |
Helmut Dipper |
Subject: |
problem resp. bug with "target sepcific variable values" |
Date: |
Fri, 29 Nov 2002 11:15:02 +0100 |
Hello,
make version 3.78.1 (sparc-sun-solaris2.7)
and 3.79.1 (mips-sgi-irix6.2)
and 3.79.1 (i686-pc-cygwin)
I have a problem with "target sepcific variable values"
(see manual chapter 6.10):
Consider the makefile:
#------------------------------------------
VAR := true
T1:: VAR := false
T1 T2::
@echo "$(VAR)"
T1 T2::
@echo "$(VAR)"
#------------------------------------------
and the results:
boston 70: make T1
false
true
boston 71: make T2
true
true
Why is there a difference in the variable value
for the target "T1" between first and second
block of targets and rules?
Best regards
Helmut Dipper
*********************************************************
* Helmut Dipper | SICAD Utilities GmbH *
* phone: +49 89 636 41558 | *
* fax: +49 89 636 49613 | Otto-Hahn-Ring 6 *
* e-mail: address@hidden | D-81730 Muenchen *
*********************************************************
- problem resp. bug with "target sepcific variable values",
Helmut Dipper <=