]> granicus.if.org Git - python/commitdiff
make ast.c depend on the grammar
authorBenjamin Peterson <benjamin@python.org>
Tue, 9 Jun 2009 17:24:26 +0000 (17:24 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 9 Jun 2009 17:24:26 +0000 (17:24 +0000)
Makefile.pre.in

index 7e99da065db4085e95c601de02fa007bc55288c9..71ded8e3d780d0dd341ef0930747e71cd55d2aba 100644 (file)
@@ -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