www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/10/02:01:33

Xref: news2.mv.net comp.os.msdos.djgpp:7025
From: j DOT j DOT vanderheijden AT driene DOT student DOT utwente DOT nl (J.J. van der Heijden)
Newsgroups: comp.os.msdos.djgpp
Subject: recursive make : c:\temp\dj100000.bat destroyed
Date: 9 Aug 1996 15:11:54 GMT
Organization: Universiteit Twente
Lines: 21
Message-ID: <4ufkfq$aj0@dinkel.civ.utwente.nl>
Reply-To: j DOT j DOT vanderheijden AT driene DOT student DOT utwente DOT nl
NNTP-Posting-Host: pc043.pczaalciv.utwente.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm having this problem with a recursive make (ie: make calls make in
a subdirectory)
The relevant part of the Makefile is:

---

MAKE = make

library:
	cd rts
	$(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.

Apparently, make[1] creates this batfile and make[2] overwrites it.
Does it not create a unique file or what is going on here?

/janjaap

- Raw text -


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