[llvm-commits] CVS: llvm/lib/Target/Sparc/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 1 15:36:02 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
Makefile updated: 1.27 -> 1.28
---
Log message:
Remove makefile complexity by always running tablegen with its final output
directory.
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/Makefile
diff -u llvm/lib/Target/Sparc/Makefile:1.27 llvm/lib/Target/Sparc/Makefile:1.28
--- llvm/lib/Target/Sparc/Makefile:1.27 Wed Jul 30 16:00:37 2003
+++ llvm/lib/Target/Sparc/Makefile Fri Aug 1 15:34:56 2003
@@ -48,13 +48,8 @@
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
More information about the llvm-commits
mailing list