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

Brian Gaeke gaeke at cs.uiuc.edu
Sat May 31 23:54:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

Makefile updated: 1.20 -> 1.21

---
Log message:

Make the .inc file depend on $(TBLGEN), so that changes to TableGen followed
by a re-link of TableGen will notify Make to rebuild the .inc file.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Makefile
diff -u llvm/lib/Target/Sparc/Makefile:1.20 llvm/lib/Target/Sparc/Makefile:1.21
--- llvm/lib/Target/Sparc/Makefile:1.20	Fri May 30 03:02:14 2003
+++ llvm/lib/Target/Sparc/Makefile	Sat May 31 23:52:51 2003
@@ -36,7 +36,7 @@
 
 TEMP_EMITTER_INC = _temp_emitter.inc
 
-SparcV9CodeEmitter.inc: SparcV9.td SparcV9_F2.td SparcV9_F3.td SparcV9_F4.td SparcV9_Reg.td
+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





More information about the llvm-commits mailing list