diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-03 23:46:01 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-03 23:46:01 +0000 |
commit | bd29a36043f24fa31a7453ca4db7f345ede88c89 (patch) | |
tree | fc88411433ff8c689c56165943788a00d6afe9b7 /Makefile.rules | |
parent | 60aaa761963e1967dfb21d69d0b4a6a0c9f39c57 (diff) |
Add rule to build MC'ized CodeEmitter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 4aa448d1ce..64e6d2ac52 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1721,6 +1721,11 @@ $(ObjDir)/%GenAsmMatcher.inc.tmp : %.td $(ObjDir)/.dir $(Echo) "Building $(<F) assembly matcher with tblgen" $(Verb) $(TableGen) -gen-asm-matcher -o $(call SYSPATH, $@) $< +$(TARGET:%=$(ObjDir)/%GenMCCodeEmitter.inc.tmp): \ +$(ObjDir)/%GenMCCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir + $(Echo) "Building $(<F) MC code emitter with tblgen" + $(Verb) $(TableGen) -gen-emitter -mc-emitter -o $(call SYSPATH, $@) $< + $(TARGET:%=$(ObjDir)/%GenCodeEmitter.inc.tmp): \ $(ObjDir)/%GenCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir $(Echo) "Building $(<F) code emitter with tblgen" |