Fix dependencies. The lexer depends on the grammar for the UpgradeParser.h

file so make it depend on the .y file as well. This ensures that in
parallel builds the lexer is built after bison runs.

llvm-svn: 32937
This commit is contained in:
Reid Spencer 2007-01-05 22:03:42 +00:00
parent 97cbd70494
commit 9329c5f06b
1 changed files with 1 additions and 2 deletions

View File

@ -29,5 +29,4 @@ test:
valgrind:
valgrind ../../Debug/bin/llvm-upgrade -o /dev/null -f $(TESTCASE)
$(PROJ_SRC_DIR)/UpgradeParser.h: $(PROJ_SRC_DIR)/UpgradeParser.y
$(PROJ_SRC_DIR)/UpgradeParser.cpp: $(PROJ_SRC_DIR)/UpgradeParser.y
$(ObjDir)/UpgradeLexer.o: $(PROJ_SRC_DIR)/UpgradeParser.y $(PROJ_SRC_DIR)/UpgradeParser.h