> 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



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to