]> granicus.if.org Git - python/commitdiff
Add dependencies for Python/thread.c on all of the header files that
authorGuido van Rossum <guido@python.org>
Sat, 18 Aug 2001 21:08:22 +0000 (21:08 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 18 Aug 2001 21:08:22 +0000 (21:08 +0000)
it may depend on.  It's really annoying that thread.o doesn't get
rebuilt when the .h file is changed! :-)

The dependency is on *all* the Python/thread_*.h files -- that should
be sufficient and rarely cause unneeded recompilations.

Makefile.pre.in

index e6598f2914f601912247f4bac93fb44c6e8d2fff..6a6325e93065a6a2817da689e3ab92409b77927d 100644 (file)
@@ -881,4 +881,8 @@ funny:
                -o -name MANIFEST \
                -o -print
 
+# Dependencies
+
+Python/thread.o: $(srcdir)/Python/thread_*.h
+
 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY