From: Reid Spencer Date: Thu, 17 May 2007 22:51:35 +0000 (+0000) Subject: Fix a problem with building .y files when BISON is not present. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=413f2f961af246ff6422726fb8071555c6cacb44;p=oota-llvm.git Fix a problem with building .y files when BISON is not present. Merged from the release_20 branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37188 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 888c5bdf040..d83f2fa548b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1359,15 +1359,12 @@ all:: $(YaccFiles:%.y=$(PROJ_SRC_DIR)/%.cpp.cvs) %.h: %.y # Rule for building the bison based parsers... -$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y ifneq ($(BISON),) +$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y $(Echo) "Bisoning $*.y" $(Verb) $(BISON) -v -d -p $(