bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with target specific variables


From: Simon Plain
Subject: problem with target specific variables
Date: Mon, 24 Sep 2001 18:12:04 +0200

Hello, hopefully this hasn't been reported already.

The following makefile gives an incorrect response:

------------------------------------
default : MYVAR = value1
default : MYVAR += value2

default:
    echo $(MYVAR)
-------------------------------------

When this is tested with 3.79.1 under linux and cygwin, the response is
echo  value2
value2

when tested with 3.77 under linux the response is
echo value1 value2
value1 value2

which I believe is the correct response.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]