Mail Archives: djgpp-workers/1996/05/05/07:51:06
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.
- Raw text -