[Top][All Lists]

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

Re: Variable is assigned wrong value

From: Paul D. Smith
Subject: Re: Variable is assigned wrong value
Date: Wed, 30 Jul 2003 16:36:20 -0400

%% Sam Ravnborg <address@hidden> writes:

  sr> When a variable is followed by a comment the variable is assigned
  sr> a value containing a space.

Yes.  This is documented in the manual and is exactly how all versions
of make behave.

In fact, you don't even need a comment: any trailing whitespace is
assigned to the variable even if there is nothing after it.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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