[Python-Dev] Makefile and dependencies
Guido van Rossum
Tue, 25 Jul 2000 13:42:32 -0500
> Well, there could probably be an improvement, but not one that would
> *ensure* safe incremental builds.
I don't believe that at all. The problem is that the submakefiles (in
Parser, Objects, Python, and Modules) don't specify all dependencies
on the header files in Include. If proper dependencies were added,
the recursive make strategy would be totally fine.
The toplevel Makefile always descends into each subdirectory to do
whatever needs to be done there; there are some tricks so that the
subdirectories know what to do and whether the toplevel
libpython$(VERSION).a needs to be updated.
--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)