From 9454ad7263e1f1ebda090bf0ec4920695dfd4558 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 18 Aug 2001 21:08:22 +0000 Subject: [PATCH] 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. --- Makefile.pre.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in index e6598f2914..6a6325e930 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 -- 2.40.0