This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: problem with make in b18
- To: Nicholas J Brealey <nick at orpwood dot demon dot co dot uk>
- Subject: Re: problem with make in b18
- From: "$Bill Luebkert" <dbe at wgn dot net>
- Date: Wed, 04 Jun 1997 03:29:11 -0700
- CC: gnu-win32 at cygnus dot com
- Organization: DBE Collectibles
- References: <199706031716.SAA00386@orpwood.demon.co.uk>
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".