mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
d00e8f1f83
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4847 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
489 B
Makefile
28 lines
489 B
Makefile
LEVEL = ../..
|
|
TOOLNAME = tblgen
|
|
USEDLIBS = support.a
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
clean::
|
|
-rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
|
|
-rm -f FileParser.output
|
|
|
|
|
|
dump:: $(TOOLEXENAME_G)
|
|
$(TOOLEXENAME_G) < X86.td
|
|
|
|
parse: $(TOOLEXENAME_G)
|
|
$(TOOLEXENAME_G) < X86.td -parse
|
|
|
|
test:: $(TOOLEXENAME_G)
|
|
@echo "enum {"
|
|
@$(TOOLEXENAME_G) < X86.td -class=Register
|
|
@echo
|
|
@echo "};"
|
|
|
|
@echo "enum {"
|
|
@$(TOOLEXENAME_G) < X86.td -class=Instruction
|
|
@echo
|
|
@echo "};"
|