www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/09/23:00:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3C8AD717.7080504@vif.com>
From: Sahab Yazdani <sahaby AT vif DOT com>
Organization: PheonixSoft Interactive
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9+) Gecko/20020307
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: make troubles
Cache-Post-Path: www.vif.com!unknown AT ip216-239-69-234 DOT vif DOT net
X-Cache: nntpcache 2.4.0b4 (see http://www.nntpcache.org/)
Lines: 35
NNTP-Posting-Date: Sat, 09 Mar 2002 21:48:15 CST
X-Trace: sv3-q1wJIhZoI5qtbxFd+POtqh4cnvSe6Edh/sW3SbbyWw5K1YYcK6LsZAOatnJXJvjKO+nUVn6jkWO2vLJ!Rf4zTQX61fUbDcWJ/HpoG7ZuEpcNOp/f2mE90yxwf+QI56fNlbrywn8=
X-Complaints-To: abuse AT GigaNews DOT Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Date: Sun, 10 Mar 2002 03:48:15 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

okay i have this little trouble with my makefile, which I hope people 
will be able to help me with.

i have defined a variable called RELEASE like this:

RELEASE=n

which is then checked against to set some flags so that the program will 
compile either as a RELEASE program or a DEBUG program:

ifeq ($(RELEASE),y) then
# define release variables
else
# define debug variables
endif

NOW, i want to be able to change this variable without coming into the 
makefile everytime i want to switch the mode of the program.

MAKE allows me to change variables via the command line like this:

make RELEASE='y'

but for some reason, this still compiles as a DEBUG program.

anyways its not that important, just a hassle to change everytime... so 
any help is appreciated.
-- 
**************************************************************
* Sahab Yazdani * "Lisa, in this house we obey the laws of   *
* Thornhill S.S * thermodynamics!" - Homer Simpson           *
**************************************************************
* http://pheonixsoft.virtualave.net/                    * :) *
**************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019