help-make
[Top][All Lists]
Advanced

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

Re: multiple assignments on one line?


From: Paul Smith
Subject: Re: multiple assignments on one line?
Date: Thu, 18 Jan 2007 08:26:45 -0500

On Thu, 2007-01-18 at 09:48 +0000, Alexis Huxley wrote:

> So, now the question: Is there a way to either:
> 
>       1) prevent $(shell ...) from making the newline to 
>          space substitution, or
> 
>       2) pack multiple assigments onto one line without 
>          later assigments being interpreted as part of the
>          right-hand side of the first assigment

No, neither of those things is possible.

IMO the best solution is to use the include method you mentioned.  If
you prefer you can bundle it all up into a user-defined function,
including removing the file (with $(shell rm ...)) after it's been
included.

-- 
-------------------------------------------------------------------------------
 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]