help-make
[Top][All Lists]
Advanced

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

gnu make question


From: Trey Jackson
Subject: gnu make question
Date: Tue, 17 Dec 2002 17:01:47 -0800
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i686-pc-linux-gnu)

All,

Is it possible to undefine a make variable?
Not just set it to an empty string, but actually undefine it?

I can't find anything in the documentation, this mailing list archive,
or anything like that....

Perhaps there's a good reason to not have it?


i.e.

,----------------
| MYVAR = value
| 
| ifdef MYVAR
|   # do something i want
| endif
| 
| 
| undef MYVAR
| 
| ifdef MYVAR
|   # skip this
| endif
`----------------



Any help is appreciated,

thanks.


TJ
-- 
Trey Jackson
address@hidden

"The wide world is all about you:
 you can fence [yourself] in,
 but you cannot for ever fence it out."
-- Gildor, "Lord of the Rings"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]