This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Generate makefile dependencies
On Mon, Mar 08, 2004 at 02:07:38PM -0500, Andrew Cagney wrote:
> For what its worth, I know of three ways to maintain a dependency list:
>
> - update at compile time
>
> - update at configure time
>
> - update at release time
>
> For someone grabbing random sources, the first is most likely correct,
> the last is most likley out-of-date. The middle is a compromise, at
> least correct at the start of each build.
Should we look at using automake's depcomp script instead, which does
the first? For more than just GCC.
But hey, I've got no objection to the sed magic.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer