From: ttruong AT cp10 DOT es DOT xerox DOT com (Truong, Ton H) Subject: How to echo out shell var inside make in B20 21 Jan 1999 20:48:14 -0800 Message-ID: <918C79AB552BD211A2BD00805F15CE853FF54F.cygnus.gnu-win32@x-crt-es-ms1.cp10.es.xerox.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BE4577.B18612F2" To: "'gnu-win32 AT cygnus DOT com'" Cc: "'Takaaki Hiramatsu'" , "Truong, Ton H" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BE4577.B18612F2 Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01BE4577.B18612F2 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable How to echo out shell var inside make in B20

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=3Dttdr

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

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