llvm-6502/utils/TableGen/Makefile
Chris Lattner d00e8f1f83 Add correct dependency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4847 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:31:46 +00:00

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