have configure generate header dependencies automatically

Corinna Vinschen vinschen at redhat.com
Wed Jan 9 20:01:15 EST 2008

On Jan  8 17:12, Darren Tucker wrote:
> Hi all.
> While working on something I got bitten by a mismatch between .o files
> due to a changed struct.  This is easily prevented.
> Building proper dependency information into the Makefiles would be major
> surgery and require ongoing maintenance (although some of that could be
> automated by parsing the .depend files generated on OpenBSD).

I don't know if that's helpful, but there's also the gcc -MMD option to
create local dependencies per compilation unit.  It's pretty easy to use
in Makefiles.


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the openssh-unix-dev mailing list