diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-01 20:34:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-01 20:34:56 +0000 |
commit | 02f7fa482a4391631c393a747566d4cf748a775c (patch) | |
tree | cc598bfd154e0124ce19004beb4456415069e872 /lib/Target | |
parent | 65f62790d6e3e7f7ceb9cd12a7a51a66d95a3b03 (diff) | |
download | external_llvm-02f7fa482a4391631c393a747566d4cf748a775c.zip external_llvm-02f7fa482a4391631c393a747566d4cf748a775c.tar.gz external_llvm-02f7fa482a4391631c393a747566d4cf748a775c.tar.bz2 |
Remove makefile complexity by always running tablegen with its final output
directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SparcV9/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/Target/SparcV9/Makefile b/lib/Target/SparcV9/Makefile index e2d03b2..cff2c0c 100644 --- a/lib/Target/SparcV9/Makefile +++ b/lib/Target/SparcV9/Makefile @@ -48,13 +48,8 @@ TARGET_NAME := SparcV9 TABLEGEN_FILES := $(wildcard *.td) -$(TARGET_NAME)CodeEmitter.inc.tmp: $(TABLEGEN_FILES) $(TBLGEN) - @${ECHO} "TableGen-erating " $(TARGET_NAME) +$(TARGET_NAME)CodeEmitter.inc: $(TABLEGEN_FILES) $(TBLGEN) $(TBLGEN) $(TARGET_NAME).td -gen-emitter -o $@ -$(TARGET_NAME)CodeEmitter.inc: $(TARGET_NAME)CodeEmitter.inc.tmp - $(VERB) # Only copy over the real .inc file if it has changed! - $(VERB) diff $@ $< > /dev/null || cp $< $@ - clean:: - ${RM} -f $(TARGET_NAME)CodeEmitter.inc $(TARGET_NAME)CodeEmitter.inc.tmp + ${RM} -f $(TARGET_NAME)CodeEmitter.inc |