Chris Lattner 24e79094f9 Split up targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4846 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:13:42 +00:00

29 lines
439 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) < X86.td
parse:
$(TOOLEXENAME_G) < X86.td -parse
test::
@echo "enum {"
@$(TOOLEXENAME_G) < X86.td -class=Register
@echo
@echo "};"
@echo "enum {"
@$(TOOLEXENAME_G) < X86.td -class=Instruction
@echo
@echo "};"