Subject: Re: make and .OPTIONAL
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 11/08/2003 20:21:40
> Yes, this is almost exactly what my autodep.mk does.  It works well.
> With the addition of .OPTIONAL it would be perfect.

I've a modified mkdep, supports:
	-o	Emit .OPTIONAL line for header files
	-c	Treat arguments as a list of files to process instead
		of arguments to ${CC}
So "mkdep -c -f .depend -o ${__DPSRCS.d}" would be used instead of
the "cat" command.

I won't post the code - it is almost a rewrite!

	David

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