bug-make
[Top][All Lists]
Advanced

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

Re: Conditional macros in gmake!


From: Paul D. Smith
Subject: Re: Conditional macros in gmake!
Date: Fri, 21 Sep 2001 10:44:26 -0400

%% "Deshpande, Sanjay (GEAE, EACoE-India)" <address@hidden> writes:

  dse> Can we use conditional macros in gmake?

If you mean what Sun's make calls "conditional macros", then the feature
is supported in the newer versions of GNU make, but it's called
"target-specific variables" and it uses a different syntax (it has to,
because ":=" already has a completely different meaning in GNU make).

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