llvm-6502/support/tools/TableGen/Makefile
Chris Lattner e62c1185be Initial checkin of TableGen utility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 01:23:04 +00:00

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 "};"