Chris Lattner | 0a92ebf | 2003-10-05 19:27:59 +0000 | [diff] [blame^] | 1 | LEVEL = ../.. |
Chris Lattner | e62c118 | 2002-12-02 01:23:04 +0000 | [diff] [blame] | 2 | TOOLNAME = tblgen |
| 3 | USEDLIBS = support.a |
| 4 | |
Chris Lattner | 4767a0c | 2002-12-03 06:00:11 +0000 | [diff] [blame] | 5 | .PRECIOUS: FileLexer.cpp FileParser.cpp |
| 6 | |
Chris Lattner | e62c118 | 2002-12-02 01:23:04 +0000 | [diff] [blame] | 7 | include $(LEVEL)/Makefile.common |
| 8 | |
John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 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 | |
Chris Lattner | e62c118 | 2002-12-02 01:23:04 +0000 | [diff] [blame] | 16 | clean:: |
| 17 | -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp |
| 18 | -rm -f FileParser.output |