Subject: bug with `make' and environment variables
From: [email-masked] (Fergus Henderson)

20 Dec 1996 11:47:56 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked] (gnu-win32)
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: [email-masked]

Hi,

Ran into a bug with make and environment variables with b17.1.

The bug is that, contrary to its documentation, make does not export
variables set on the command line to the environment.

Here's a transcript:

--------------------
bash$ cat makefile
foo:
	echo $$BAR
bash$ make BAR=yes
echo $BAR

bash$
--------------------

On other platforms, this results in

--------------------
bash$ cat makefile
foo:
	echo $$BAR
bash$ make BAR=yes
echo $BAR
yes
bash$
--------------------

Since it works on other platforms, it's probably a cygwin32 bug rather
than a bug in make.

-- 
Fergus Henderson <[email-masked]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [email-masked]         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".