help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inconsistency of 'emptiness'?


From: gk
Subject: Re: inconsistency of 'emptiness'?
Date: Tue, 28 Jan 2003 11:07:05 -0800

At 10:52 AM 1/28/2003 -0800, gk wrote:
>Mystery solved: make evalutes substring after the command-line '=' in the MAKEFILE context, NOT in the shell.
This explains the loss of leading white space and the 'double evaluation'.

Well, actually it still isn't solved: if make was simply evaluating what the shell handed it in the makefile context, then FOO should INCLUDE the leading backslash.

What is make doing with the backslash?
It seems to be trying to do a makefile evaluation but is allowing the backslash as an escape character, rather than a literal, as it always does inside a makefile.
That really is inconsistent.


- Greg Keraunen
http://www.xmake.org
http://www.xmlmake.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]