Make the .inc file depend on $(TBLGEN), so that changes to TableGen followed
authorBrian Gaeke <gaeke@uiuc.edu>
Sun, 1 Jun 2003 04:52:51 +0000 (04:52 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sun, 1 Jun 2003 04:52:51 +0000 (04:52 +0000)
by a re-link of TableGen will notify Make to rebuild the .inc file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6512 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/Makefile

index 8ac4d5b498e094fb8ceb6d94b5a7b50db2b77543..05b3e566d925b36156ba2c693532df3789fc709b 100644 (file)
@@ -36,7 +36,7 @@ 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
+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