]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make module objects from Setup depend on Python.h headers.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Thu, 25 Jan 2001 20:07:50 +0000 (20:07 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Thu, 25 Jan 2001 20:07:50 +0000 (20:07 +0000)
Makefile.pre.in

index ce54e444bf6da3a0be17e2821c6b5bda4b66f5ff..c371e2e8975861564c71c9c7d05a07cbd3caf0e4 100644 (file)
@@ -414,9 +414,9 @@ Objects/unicodectype.o:     $(srcdir)/Objects/unicodectype.c \
 ############################################################################
 # Header files
 
-$(LIBRARY_OBJS) $(MAINOBJ): \
-               config.h \
+PYTHON_HEADERS= \
                Include/Python.h \
+               config.h \
                Include/patchlevel.h \
                Include/pyport.h \
                Include/pymem.h \
@@ -454,6 +454,8 @@ $(LIBRARY_OBJS) $(MAINOBJ): \
                Include/abstract.h \
                Include/pyfpe.h
 
+$(LIBRARY_OBJS) $(MODOBJS) $(MAINOBJ): $(PYTHON_HEADERS)
+
 
 ######################################################################