summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ce54e44..c371e2e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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)
+
######################################################################