summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-09 17:24:26 +0000
committerBenjamin Peterson <benjamin@python.org>2009-06-09 17:24:26 +0000
commitd18909e1f62af9ca4ac876637344b1951884b026 (patch)
tree41a66ed2602ec41657de0196543bb4b296b47cfa /Makefile.pre.in
parent550656513157b9d7703a8c4834592a70dce5caf3 (diff)
downloadcpython-d18909e1f62af9ca4ac876637344b1951884b026.tar.gz
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 7e99da065d..71ded8e3d7 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