From: Reid Spencer Date: Wed, 27 Oct 2004 04:34:35 +0000 (+0000) Subject: Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1654448063fdb32788924f0a49f158b6d463ff62;p=oota-llvm.git Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the *.inc files get regenerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17273 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 3df4811bf89..68d870b7a97 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -732,14 +732,15 @@ $(OBJDIR)/%.bc: %.ll $(OBJDIR)/.dir $(LLVMAS) ifdef TARGET TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(LLVM_SRC_ROOT)/lib/Target/Target.td) +INCFILES := $(filter %.inc,$(BUILT_SOURCES)) -$(BUILT_SOURCES): $(TDFILES) +$(INCFILES) : $(TBLGEN) $(TDFILES) -%GenRegisterNames.inc : %.td +%GenRegisterNames.inc : %.td @echo "Building $(