[Top][All Lists]

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

Re: White Space Problems--Again

From: Harvey Chapman
Subject: Re: White Space Problems--Again
Date: Wed, 13 May 2009 17:34:46 -0400
User-agent: Postbox 1.0b11 (Macintosh/2009041623)

Pontus wrote:
Then I added a comment to the line:

   COMPS := gnu # gfortran

Make reports the value of $(COMPS) as 'gnu ', not the same.

Is there any rationale for Make not trimming white space in that
situation?  Or ever?
See the middle of section 6.2 of the make manual. You can search for "one 
space" which turns up three hits to find it faster. Summary: Using a comment in that 
manner is the accepted (only?) way of making a variable that contains only white space.

reply via email to

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