help-make
[Top][All Lists]
Advanced

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

Re: Advertising second_expansion


From: Paul D. Smith
Subject: Re: Advertising second_expansion
Date: Tue, 31 Jan 2006 20:04:04 -0500

%% Alessandro Vesely <address@hidden> writes:

  av> A tool that computes dependencies needs to know if SECONDEXPANSION
  av> is enabled, so it can escape '$'s correctly. Each tool can provide
  av> for its own command line switch, or should there be an
  av> automatically exported global variable, say MAKE_SECONDEXPANSION?

This is not necessarily a bad idea (although I wouldn't do it like that)
However, now that .SECONDEXPANSION is optional it's almost a per-target
capability (or would be, if we had a way to turn it off again...)  That
implies that this variable would need to be set differently for
different targets.

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