Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 16:23:20 -0500
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: make -U
Message-ID:  <20030730162320.A66578@FreeBSD.org>
In-Reply-To: <20030730212049.GI33188@sunbay.com>; from ru@FreeBSD.org on Thu, Jul 31, 2003 at 12:20:49AM %2B0300
References:  <20030730212049.GI33188@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov <ru@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:
> 	@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@freebsd.org; efnet: juli; aim: bsdflata;
i have lost my way home early - i don't care cause i won't stay there.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030730162320.A66578>