make -U

Ruslan Ermilov ru at FreeBSD.org
Wed Jul 30 14:21:05 PDT 2003


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''.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030731/c982c676/attachment.bin


More information about the freebsd-current mailing list