blob: 2bb9766f55003f5c8a13154cb42b3a1bbc72f639 [file] [log] [blame]
Misha Brukman06030792004-06-17 15:49:36 +00001##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
John Criswelle2fab732003-10-20 22:29:16 +00002#
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##===----------------------------------------------------------------------===##
Chris Lattner0a92ebf2003-10-05 19:27:59 +00009LEVEL = ../..
Chris Lattnere62c1182002-12-02 01:23:04 +000010TOOLNAME = tblgen
Reid Spencer6cb21d42004-10-27 23:18:45 +000011USEDLIBS = LLVMSupport.a LLVMSystem.a
Chris Lattnere62c1182002-12-02 01:23:04 +000012
13include $(LEVEL)/Makefile.common
14
John Criswell7a73b802003-06-30 21:59:07 +000015#
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#
20FileLexer.cpp: FileParser.h
21
Chris Lattnere62c1182002-12-02 01:23:04 +000022clean::
Reid Spencercc2d1e22004-10-30 09:19:36 +000023 $(Verb) $(RM) -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
24 $(Verb) $(RM) -f FileParser.output