From owner-freebsd-current@FreeBSD.ORG Wed Jul 30 14:23:20 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 5CC3037B401; Wed, 30 Jul 2003 14:23:20 -0700 (PDT) Date: Wed, 30 Jul 2003 16:23:20 -0500 From: Juli Mallett To: Ruslan Ermilov Message-ID: <20030730162320.A66578@FreeBSD.org> References: <20030730212049.GI33188@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030730212049.GI33188@sunbay.com>; from ru@FreeBSD.org on Thu, Jul 31, 2003 at 12:20:49AM +0300 X-Title: Code Maven X-Towel: Yes X-Negacore: Yes X-Authentication-Warning: localhost: juli pwned teh intarweb cc: hackers@FreeBSD.org cc: current@FreeBSD.org Subject: Re: make -U X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 21:23:20 -0000 * Ruslan Ermilov [ 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.