Re: make -U

From: Juli Mallett <jmallett_at_FreeBSD.org>
Date: Wed, 30 Jul 2003 16:23:20 -0500
* Ruslan Ermilov <ru_at_FreeBSD.org> [ Date: 2003-07-30 ]
	[ w.r.t. make -U ]
> Sorry, I've accidentally dropped an email about `make -U'.
> 
> I think that it's not needed, since the functionality can
> easily be achieved by running "make FOO=", i.e., assigning
> an empty value.  Remember that command line variables take
> precedence over globals, so the following makefile,
> 
> FOO+=	bar
> 
> all:
> 	_at_echo ${FOO}
> 
> when run as ``make FOO=foo'', will print just ``foo''.

Does that work for the .if defined() case, too?  Makefiles can grow
to be more complex than just that sort of stuff, after all :)

Thanx,
juli. (who admits she missed the rest of the conversation)
-- 
juli mallett. email: jmallett_at_freebsd.org; efnet: juli; aim: bsdflata;
i have lost my way home early - i don't care cause i won't stay there.
Received on Wed Jul 30 2003 - 12:23:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC