Subject: Re: make and .OPTIONAL
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 11/08/2003 22:04:52
In article <20031108202140.P2039@snowdrop.l8s.co.uk>,
David Laight <david@l8s.co.uk> wrote:
>> 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!
I think this would be a good thing to have.
christos