tech-toolchain archive

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

Re: make: exporting MAKEOBJDIR



On Tue, Jun 01, 2010 at 11:39:44AM -0700, Simon Gerraty wrote:
> For several years, make has allowed for doing cool things
> by putting something like this
> 
> MAKEOBJDIR="\${.CURDIR:S,${SRCTOP},${OBJPREFIX}\${MACHINE},}"
> 
> in the environment.  This allows for a more consistent/neat .OBJDIR value
> than MAKEOBJDIRPREFIX allows when the src is mounted via amd etc.

I've thought about implementing MAKEOBJDIRPREFIX that way ....

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index