problem with make in b18
$Bill Luebkert
dbe@wgn.net
Wed Jun 4 16:08:00 GMT 1997
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".
More information about the Cygwin
mailing list