Sender: crough45 AT amc DOT de Message-Id: <97Sep18.123207gmt+0100.11652@internet01.amc.de> Date: Thu, 18 Sep 1997 11:36:54 +0100 From: Chris Croughton Mime-Version: 1.0 To: pjfarley AT dorsai DOT org Cc: djgpp AT delorie DOT com Subject: Re: make 3.75 ported to DJGPP not handling correctly comments Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Peter J. Farley III (pjfarley AT dorsai DOT org) wrote: > *But* is that the correct definition? Speaking as a relative > outsider to *nix environments, I must say it would *appear* to > be the responsibility of *make* to strip unquoted comments, > since '#' is *also* the *make* comment character. Certainly other DOS implementations of 'make' have done so. This doesn't necessarily make it right, of course, but your argument certainly has some evidence behind it. However, I just tried it under Unix (DEC Alpha under OSF/1) with both the proprietary make and with GNU make, and it is indeed all passed to the command directly with the DEC versin but not with the GNU one (GNU make seems to always pass it to the shell - still with everything including the comment). For instance, if you have: fred.txt: echo #ifdef FRED > fred.txt it will put "#ifdef FRED" into the file (the shell is TCSH - I haven't tried that with othe shells). Also, isn't the DJGPP make just a port, with minimal changes? That would argue against making something like this Chris C (OK, how did the Dorsai Embassy get to NY? Does Gordon Dickson know?)