From: Steven Augart <swa@au...> - 2002-02-26 01:48:50
I've uploaded automatic-Makefile-dependencies-10.patch
This patch solves a problem I encountered during development
where out-of-date-dependencies led to an inconsistent build and
a subsequent weird Althea crash.
Since it required changing dozens of lines in the Makefile, I took
the opportunity to do some cosmetic surgery on the Makefile.
*The Makefile automatically generates and updates dependencies. It
does this by creating a batch of files suffixed .d, one for each
source file. Got rid of the old and inadequate hardcoded
*Now use standard names (e.g., CXXFLAGS instead of CFLAGS) which
cuts out about 2K from the makefile, despite the new targets.
* The necessary -ftemplate-depth-30 flag is no longer misleadingly stuck
*Makefile now has configuration options at the start of the Makefile.
*The Makefile now uses the GNU project's recommended names for
various directories (e.g., $(bindir) instead of $(DESTDIR}).
This helps for future compatibility with Autoconf.