tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: variable MAKEOBJDIR inside of Makefile



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
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index