help-make
[Top][All Lists]
Advanced

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

Re: White Space Problems--Again


From: Pontus
Subject: Re: White Space Problems--Again
Date: Wed, 13 May 2009 11:05:01 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)


> Then I added a comment to the line:
> 
>   COMPS := gnu # gfortran
> 
> Make reports the value of $(COMPS) as 'gnu ', not the same.
> 
> It took me a few minutes to figure out what was happening, and in my
> stubbornness I added the $(strip) function later for a conditional to
> enable me to leave the comment.
> 
> Is there any rationale for Make not trimming white space in that
> situation?  Or ever?
> 

It's bitten me to!

Has anyone considered a makefile lint program, or similar?
There might be other constructs that could be captured
that are considered weak or bad habit etc.

-- Pontus





reply via email to

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