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 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 Precedence: bulk > 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.