summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-09 17:24:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-09 17:24:26 (GMT)
commit80ce61c0533c1bb9113be3371d43a6f82c122f36 (patch)
treeed22ac0a6b50f82918a4053d1e5a789344ec84c6 /Makefile.pre.in
parent9eeeee9d71223a55e6c6ccff6ea7ff11456fc74a (diff)
downloadcpython-80ce61c0533c1bb9113be3371d43a6f82c122f36.zip
cpython-80ce61c0533c1bb9113be3371d43a6f82c122f36.tar.gz
cpython-80ce61c0533c1bb9113be3371d43a6f82c122f36.tar.bz2
make ast.c depend on the grammar
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 7e99da0..71ded8e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -541,7 +541,7 @@ $(AST_H): $(AST_ASDL) $(ASDLGEN_FILES)
$(AST_C): $(AST_ASDL) $(ASDLGEN_FILES)
$(ASDLGEN) -c $(AST_C_DIR) $(AST_ASDL)
-Python/compile.o Python/symtable.o: $(GRAMMAR_H) $(AST_H)
+Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H)
Python/getplatform.o: $(srcdir)/Python/getplatform.c
$(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c