From: drupp AT cs DOT washington DOT edu (Douglas Rupp) Message-Id: <199605050757.AAA15653@june.cs.washington.edu> Subject: Make bug To: djgpp-workers AT delorie DOT com Date: Sun, 5 May 1996 00:57:58 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I've noticed that when "make" calls "make" and passes some quoted strings, it doesn't work, i.e.: In the top level Makefile you have: foo: cd bar make "CFLAGS=-g" ../foo And you invoke "make foo", the second call to "make" simply returns w/o doing anything. However: foo: cd bar make CFLAGS=-g ../foo works fine, and just cd'ing into bar and invoking: make "CFLAGS=-g" ../foo works fine too. All is well until you need "CFLAGS=-g -O2" or something with whitespace in it, and then simply removing the quotes is not sufficient. Is this a bug in "make" or "spawn"? Any ideas? Anybody who has tried to build C++ or GNAT has surely run into this. I really need to get this fixed in order to automate the building of GNAT. I'm getting tired of hacking the Makefile by hand for every new release. If there is not already a fix in the works, I'll give it a try.