Re: variable MAKEOBJDIR inside of Makefile

David Holland <[email protected]> Thu, 30 Jan 2025 09:00:06 +0000
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Sun, Jan 26, 2025 at 12:30:19PM -0500, Mouse wrote:
 > >> Only way which I found functional was using MAKEOBJDIR on commane
 > >> line: [...] When I try to define it inside of Makefile then it is
 > >> ignored
 > 
 > > It's a feature.  See make(1), search for .OBJDIR in the section
 > > "Additional built-in variables".
 > 
 > Okay, it's deliberate, but how is it a feature?  I can't see any value
 > in ignoring an in-Makefile setting of MAKEOBJDIR - what am I missing?

Everything about make's magic objdir behavior is a bug.

-- 
David A. Holland
[email protected]