help-make
[Top][All Lists]
Advanced

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

Re: second-expansion prerequisite


From: Paul Smith
Subject: Re: second-expansion prerequisite
Date: Sun, 31 Oct 2010 01:02:53 -0400

On Sun, 2010-10-31 at 12:30 +0800, gaoyong pan wrote:
> I think this is the feature second_expansion in prerequisite, it will
> take effect to all rules afterwards, one drawback is that we may get
> unexpected result if the following included makefile has the $$ inside
> its prerequisite, is it possible to specify the scope of this feature
> to avoid bad thing happen? 

No.  Once you've enabled it it's enabled for the rest of that instance
of make and cannot be turned off again.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "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]