help-make
[Top][All Lists]
Advanced

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

Re: Remove whitespace from the output of foreach


From: Paul Smith
Subject: Re: Remove whitespace from the output of foreach
Date: Fri, 19 Oct 2012 10:42:49 -0400

On Fri, 2012-10-19 at 09:49 +0200, Reinier Post wrote:
> On Fri Oct 19 01:33:13 2012, address@hidden (Paul Smith) wrote:
> > On Thu, 2012-10-18 at 21:32 -0700, Rakesh Sharma wrote:
> > > sp ;= $(empty) $(empty)
> > 
> > Change this to ":=" instead of ";=" and it will work.
> 
> A lint for make would be nice ...

Yes, it would.

However in this particular case all it would have taken is using a newer
version of make than 3.81.  make 3.82 was released 2 years ago, and it
doesn't allow whitespace in variable names.  So the mistake above would
have been flagged as a syntax error:

        Makefile:3: *** missing separator.  Stop.






reply via email to

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