Date: Sun, 5 May 1996 14:49:39 +0200 (IST) From: Eli Zaretskii To: Douglas Rupp Cc: djgpp-workers AT delorie DOT com Subject: Re: Make bug In-Reply-To: <199605050757.AAA15653@june.cs.washington.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 5 May 1996, Douglas Rupp wrote: > cd bar > make "CFLAGS=-g" ../foo > > And you invoke "make foo", the second call to "make" simply returns w/o > doing anything. However: The current port of GNU Make invokes COMMAND.COM when it sees double quotes on the command line. Change double quotes to single quotes and it will work: cd bar make 'CFLAGS=-g -O2' ../foo I think the proper way to fix this for double quotes is to teach the library function `system' to treat quoting properly, then change Make so it always calls `system'. I extended `system' to do this and it should be in the next release of DJGPP library. I'm now ready to begin porting Make using the above idea. I hope I'm right and it will work.