From: Guido van Rossum Date: Sat, 18 Aug 2001 21:08:22 +0000 (+0000) Subject: Add dependencies for Python/thread.c on all of the header files that X-Git-Tag: v2.2a3~439 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9454ad7263e1f1ebda090bf0ec4920695dfd4558;p=python 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. --- 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