Re: Empty variable treated as undefined
%% "Pawlowsky, Marc" <[EMAIL PROTECTED]> writes: pm> If a variable has an empty value ifndef will enter the true branch. Yes. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www
Empty variable treated as undefined
If a variable has an empty value ifndef will enter the true branch. > make EMPTY=0 all echo anything anything > make EMPTY=1 all makefile:12: *** variable is defined.. Stop. > cat makefile ifeq (1,${EMPTY}) VAR= else VAR=anything endif ifndef VAR VAR=${error variable is defined.} endi