delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/08/20:27:47

Date: Mon, 8 Mar 1999 20:27:43 -0500
Message-Id: <199903090127.UAA19903@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <199903090125.UAA13937@huey.nawcad.navy.mil>
(nygren AT tecnet1 DOT jcte DOT jcs DOT mil)
Subject: Re: DJGPP Make v3.77 recursion bug test case
References: <199903090125 DOT UAA13937 AT huey DOT nawcad DOT navy DOT mil>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 	cd sub; $(MAKE)

Replace this with:

	$(MAKE) -C sub

and it should do what you expect.  MS-DOS has a global cwd, not a
per-process one, so anything that depends on the current directory
being automatically revered will break under MS-DOS.

GNU make has a special case internally to revert the current directory
upon exit when you use the -C option.

- Raw text -


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