From: jalvo@cloud9.net (John Alvord)
Subject: Re: How to echo out shell var inside make in B20
22 Jan 1999 17:20:37 -0800
Message-ID: <Pine.BSF.4.05.9901221057430.17163-100000.cygnus.gnu-win32@earl-grey.cloud9.net>
References: <918C79AB552BD211A2BD00805F15CE853FF54F@x-crt-es-ms1.cp10.es.xerox.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: "Truong, Ton H" <ttruong@cp10.es.xerox.com>
Cc: "'gnu-win32@cygnus.com'" <gnu-win32@cygnus.com>,
        "'Takaaki Hiramatsu'" <takaaki@cp10.es.xerox.com>

Unless you do something, priority goes

	1. variables defined on command line
	2. makefile text
	3. environment variables

You can increase the environment variable prority using the -e command
line option. You can alter 1 vs 2 using the "override"control in the
makefile text.

john alvord

Music, Management, Poetry and more...
           http://www.candlelist.org/kuilema
 
Cheap CDs @ http://www.cruzio.com/~billpeet/MusicByCandlelight
 

On Thu, 21 Jan 1999, Truong, Ton H wrote:

> I just downloaded the B20.1 version and run into this problem which we did
> not have using B18.
> 
> Our makefile defines this variable
> LIB=ttdr
> 
> Say I have this target:
> unittestdebug:
>      echo $$LIB
> 
> With the double dollar sign, I would expect the echo command to echo out the
> VC++ LIB environment variable (c:/msdev/VC/lib; etc...), but it echoes out
> the value "ttdr" - the Makefile variable instead.
> 
> Does anyone have a workaround for it?
> 
> Please respond to me, as I am not a subscriber to the list.
> 
> //Ton Truong
> 

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
