mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
e62c1185be
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
398 B
Makefile
24 lines
398 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
|
|
|
|
test::
|
|
$(TOOLEXENAME_G) < X86.td
|
|
# -parse
|
|
|
|
@echo "enum {"
|
|
@$(TOOLEXENAME_G) < X86.td -class=Register
|
|
@echo
|
|
@echo "};"
|
|
|
|
@echo "enum {"
|
|
@$(TOOLEXENAME_G) < X86.td -class=Instruction
|
|
@echo
|
|
@echo "};"
|