Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 1995 19:15:11 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        jkh@freefall.cdrom.com (Jordan K. Hubbard)
Cc:        hackers@freefall.cdrom.com
Subject:   Re: Any objection to adding a .undef(VARNAME) to make?
Message-ID:  <199504220215.TAA00576@gndrsh.aac.dev.com>
In-Reply-To: <24740.798506728@freefall.cdrom.com> from "Jordan K. Hubbard" at Apr 21, 95 04:25:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> The subject says it all..
> 
> I've long been bothered by bmake's inability to programmatically unset
> a variable.  Assuming that nobody feels it to be too evil a hack to
> live, are there any objections to using the keyword `.undef'?
> 
> Yes, it will make us non-standard, but we're essentially ALREADY
> non-standard due to having a build system from hell that nobody else
> is going to adopt without taking our make, too.

It sure would help if you read psd:12 from your 4.4 manual set if
your going to do much more with Make.  On page 12-7 you will see
#undef variable described.

Note that our make uses .undef, and I have tested it, and it works.




-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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