[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't change variable value
From: |
Paul D. Smith |
Subject: |
Re: can't change variable value |
Date: |
Wed, 30 Oct 2002 20:31:16 -0500 |
%% Mikhail Kruk <address@hidden> writes:
mk> However if I run it like 'make BUILDTYPE=blah' BUILDTYPE will
mk> preserve the value 'blah'.
Certainly. Variables set on the command line always override any value
set in the makefile (unless you use the override keyword).
See the GNU make manual (or any book on make: all makes have behaved
this way since make was invented).
--
-------------------------------------------------------------------------------
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