www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/23/13:53:22

Message-ID: <3630F8A9.D0CB5B62@gmx.net>
Date: Fri, 23 Oct 1998 20:44:09 -0100
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Organization: none provided
X-Mailer: Mozilla 4.01 [de] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Recursive make: portable technique?
X-Priority: 3 (Normal)
References: <362FF086 DOT BDA6266C AT montana DOT com>
Reply-To: djgpp AT delorie DOT com

bowman wrote :
> 
> So, my question, is the explicit cd safe in all configurations, or
> will
> I get burnt?

If you use GNU make in all configurations you refer to, the (in
my opinion) safest way is

	$(MAKE) -C ../new_dir

since then make is responsible for changing the directory,
and if GNU make runs on that system, it should be configured
the right way to do it correct :-)

Robert
-- 
******************************************************
* email:   Robert Hoehne <robert DOT hoehne AT gmx DOT net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************


- Raw text -


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