From a49323537b6edb6f2b3142d48de14ca83cf46b8c Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 16 Apr 2012 18:29:28 +0200 Subject: Avoid rebuilding all C files when importlib.h is updated. --- Makefile.pre.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 3133720..3f43837 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -702,6 +702,8 @@ Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \ $(BYTESTR_DEPS) +Python/frozen.o: $(srcdir)/Python/importlib.h + Objects/typeobject.o: $(srcdir)/Objects/typeslots.inc $(srcdir)/Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots.py $(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > $(srcdir)/Objects/typeslots.inc @@ -792,7 +794,6 @@ PYTHON_HEADERS= \ $(srcdir)/Include/unicodeobject.h \ $(srcdir)/Include/warnings.h \ $(srcdir)/Include/weakrefobject.h \ - $(srcdir)/Python/importlib.h \ pyconfig.h \ $(PARSER_HEADERS) -- cgit v0.12