From 8b31b2dea65999c4bdb27b1cd655f25a63aaad01 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 5 Jan 2007 22:03:42 +0000 Subject: [PATCH] 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 --- tools/llvm-upgrade/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/llvm-upgrade/Makefile b/tools/llvm-upgrade/Makefile index 0b80aabfb2e..0f4440787bf 100644 --- a/tools/llvm-upgrade/Makefile +++ b/tools/llvm-upgrade/Makefile @@ -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 -- 2.34.1