Updated Makefiles to reflect new location in llvm/support/tools.
[oota-llvm.git] / support / tools / TableGen / Makefile
1 LEVEL = ../../..
2 TOOLNAME = tblgen
3 USEDLIBS = support.a
4
5 .PRECIOUS: FileLexer.cpp FileParser.cpp
6
7 include $(LEVEL)/Makefile.common
8
9 #
10 # Make the source file depend on the header file.  In this way, dependencies
11 # (which depend on the source file) won't get generated until bison is done
12 # generating the C source and header files for the parser.
13 #
14 FileLexer.cpp: FileParser.h
15
16 clean::
17         -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
18         -rm -f FileParser.output