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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32937 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-05 22:03:42 +00:00
parent bafe19d595
commit 8b31b2dea6

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