From f65e500594f935c642e2b8d6de44c9d530f1ec47 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Thu, 25 Jan 2001 20:07:50 +0000 Subject: Make module objects from Setup depend on Python.h headers. --- Makefile.pre.in | 6 ++++-- 1 file 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) + ###################################################################### -- cgit v0.12