[llvm-commits] CVS: llvm/lib/Target/Sparc/Makefile

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 3 00:07:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

Makefile updated: 1.21 -> 1.22

---
Log message:

Use the new -o tablegen option


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Makefile
diff -u llvm/lib/Target/Sparc/Makefile:1.21 llvm/lib/Target/Sparc/Makefile:1.22
--- llvm/lib/Target/Sparc/Makefile:1.21	Sat May 31 23:52:51 2003
+++ llvm/lib/Target/Sparc/Makefile	Tue Jun  3 00:06:33 2003
@@ -34,12 +34,9 @@
 
 SparcV9CodeEmitter.cpp: SparcV9CodeEmitter.inc
 
-TEMP_EMITTER_INC = _temp_emitter.inc
-
 SparcV9CodeEmitter.inc: SparcV9.td SparcV9_F2.td SparcV9_F3.td SparcV9_F4.td SparcV9_Reg.td $(TBLGEN)
 	@echo "TableGen-erating $@"
-	cpp -P SparcV9.td | $(TBLGEN) -gen-emitter > $(TEMP_EMITTER_INC) 
-	mv -f $(TEMP_EMITTER_INC) SparcV9CodeEmitter.inc
+	cpp -P SparcV9.td | $(TBLGEN) -gen-emitter -o $@
 
 clean::
 	rm -f SparcV9CodeEmitter.inc





More information about the llvm-commits mailing list