summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-04-16 16:29:28 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-04-16 16:29:28 (GMT)
commita49323537b6edb6f2b3142d48de14ca83cf46b8c (patch)
treec28e40eda065178e98d710c8ab7c810e0c844562 /Makefile.pre.in
parent75babfa886168b5d8f5a9bda25d35c80dff775ed (diff)
downloadcpython-a49323537b6edb6f2b3142d48de14ca83cf46b8c.zip
cpython-a49323537b6edb6f2b3142d48de14ca83cf46b8c.tar.gz
cpython-a49323537b6edb6f2b3142d48de14ca83cf46b8c.tar.bz2
Avoid rebuilding all C files when importlib.h is updated.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
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)