OSDN Git Service

Fix dependencies. The lexer depends on the grammar for the UpgradeParser.h
authorReid Spencer <rspencer@reidspencer.com>
Fri, 5 Jan 2007 22:03:42 +0000 (22:03 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 5 Jan 2007 22:03:42 +0000 (22:03 +0000)
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

tools/llvm-upgrade/Makefile

index 0b80aab..0f44407 100644 (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