Internalize variable names to prevent recursive assignment. Cleanup docs.
[oota-llvm.git] / utils / TableGen / Makefile
1 ##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10 TOOLNAME = tblgen
11 USEDLIBS = LLVMSupport.a LLVMSystem.a
12
13 include $(LEVEL)/Makefile.common
14
15 #
16 # Make the source file depend on the header file.  In this way, dependencies
17 # (which depend on the source file) won't get generated until bison is done
18 # generating the C source and header files for the parser.
19 #
20 FileLexer.cpp: FileParser.h
21
22 clean::
23         $(Verb) $(RM) -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
24         $(Verb) $(RM) -f FileParser.output