Subject: Re: make fails to execute ./fred because of a chdir()
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 12/13/2002 22:25:37
> This is a `feature'

I had a horrid feeling that it was.

> printf 'all:\n\t${.CURDIR}/do_echo' > Makefile

That involves patching makefiles that work on every? other
system I've seen.

Wouldn't it have been better to require a .OBJDIR (or similar)
command in the makefile itself to enable this 'feature'?

I've also used ${@F:.o=.c} with SYSV make to put object files
into subdirectories.  Did have to fix the parseing of $${@F:.o=.c}
first though...

	David

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