Message-ID: <362FF086.BDA6266C@montana.com> Date: Thu, 22 Oct 1998 20:57:10 -0600 From: bowman X-Mailer: Mozilla 4.5b2 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: Recursive make: portable technique? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On a straight DOS system with only command.com for a shell, make will fail after cd ../new_dir; $(MAKE) I found that doing an explicit cd ../original_dir fixed the problem, and there were a few exchanges about this in the archives that indicated this was the case. I ran a small test using this hack with bash available, and pointed to by SHELL, and it still seemed to work. So, my question, is the explicit cd safe in all configurations, or will I get burnt?