summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-18 21:08:22 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-18 21:08:22 (GMT)
commit9454ad7263e1f1ebda090bf0ec4920695dfd4558 (patch)
tree80ba4a5ea5ab56b21e4d0b00337fbc7bd565104c
parent112ea6bfa61e67516f8ab7c0b5b46911d5f7e060 (diff)
downloadcpython-9454ad7263e1f1ebda090bf0ec4920695dfd4558.zip
cpython-9454ad7263e1f1ebda090bf0ec4920695dfd4558.tar.gz
cpython-9454ad7263e1f1ebda090bf0ec4920695dfd4558.tar.bz2
Add dependencies for Python/thread.c on all of the header files that
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.
-rw-r--r--Makefile.pre.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e6598f2..6a6325e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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