From: dbe@wgn.net ("$Bill Luebkert")
Subject: Re: problem with make in b18
4 Jun 1997 21:12:14 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <33954377.30901A3A.cygnus.gnu-win32@wgn.net>
References: <199706031716.SAA00386@orpwood.demon.co.uk>
X-Mailer: Mozilla 4.0b5 [en] (Win95; I)
MIME-Version: 1.0
Original-To: Nicholas J Brealey <nick@orpwood.demon.co.uk>
Original-CC: gnu-win32@cygnus.com
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Original-Sender: owner-gnu-win32@cygnus.com

Nicholas J Brealey wrote:
> 
> I have come across a strange problem with make with b18.
> 
> I have two make files:
> 
> one.mk contains
> 
> all:
>         @echo CC=$(CC)
>         @make -f two.mk
> 
> two.mk conatins
> 
> all:
>         @echo CC=$(CC)
> 
> With b18 on NT4.0 and Win95 I get the following behaviour:
> 
> $ make -f one.make CC=xx
> CC=xx
> CC=gcc
> 
> but using Gnu make on Solaris or Linux or using Gnu make compiled as a
> native application on NT 4.0 I get:
> $ make -f one.mk
> CC=xx
> make[1]: Entering directory `/home/nick'
> CC=xx
> make[1]: Leaving directory `/home/nick'
> 
> or
> 
> $ make -s -f one.mk CC=xx
> CC=xx
> CC=xx
> 
> Does anyone have any ideas?

Try changing the '@make -f two.mk' to '@make -e -f two.mk'.

Actually '@$(MAKE) -e -f two.mk' would be better, I think. :)

-- 
  ,-/-  __      _  _         $Bill Luebkert
 (_/   /  )    // //       DBE Collectibles
  / ) /--<  o // //      http://www.wgn.net/~dbe/
-/-' /___/_<_</_</_    Email: dbe@wgn.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
