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:
parent
97cbd70494
commit
9329c5f06b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue