blob: 93fd75a3b0eb6433d56966b5c4f088f219da5f0d [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 Spencer0172d092004-08-29 19:31:19 +000011USEDLIBS = support.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 Spencer40b062f2004-09-03 23:19:53 +000023 $(VERB) $(RM) -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
24 $(VERB) $(RM) -f FileParser.output