www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/11/07:27:42

Date: Sun, 11 Aug 1996 14:22:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "J.J. van der Heijden" <j DOT j DOT vanderheijden AT driene DOT student DOT utwente DOT nl>
Cc: djgpp AT delorie DOT com
Subject: Re: recursive make : c:\temp\dj100000.bat destroyed
In-Reply-To: <4ufkfq$aj0@dinkel.civ.utwente.nl>
Message-Id: <Pine.SUN.3.91.960811112040.24678U-100000@is>
Mime-Version: 1.0

On 9 Aug 1996, J.J. van der Heijden wrote:

> 	$(MAKE) RTSFLAGS="$(RTSFLAGS)"
> 
> When make[2] is done in the rts subdirectory, make[1] takes over,
> to find that C:\TEMP\DJ100000.BAT is gone, then exits.

To work around this, change your Makefile to say this:

	$(MAKE) RTSFLAGS='$(RTSFLAGS)'

(note the single quotes!).  This will cause Make to invoke the subsidiary 
Make directly.  Double quotes cause it to invoke second Make through 
COMMAND.COM, where there indeed seems to be a bug in this case.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019