blob: 187448c992284c434ee4ed89d8a9102976f00e15 [file] [log] [blame]
Chris Lattnerbe1a7a02008-03-15 23:59:48 +00001##===- clang/lib/Lex/Makefile ------------------------------*- Makefile -*-===##
Chris Lattner4b009652007-07-25 00:24:17 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattnerbd599602007-12-29 20:02:25 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Chris Lattner4b009652007-07-25 00:24:17 +00007#
8##===----------------------------------------------------------------------===##
9#
10# This implements the Lexer library for the C-Language front-end.
11#
12##===----------------------------------------------------------------------===##
13
Chris Lattnerbe1a7a02008-03-15 23:59:48 +000014LEVEL = ../../../..
Chris Lattner4b009652007-07-25 00:24:17 +000015include $(LEVEL)/Makefile.config
16
17LIBRARYNAME := clangLex
18BUILD_ARCHIVE = 1
19CXXFLAGS = -fno-rtti
20
21ifeq ($(ARCH),PowerPC)
22CXXFLAGS += -maltivec
23endif
24
Chris Lattnerbe1a7a02008-03-15 23:59:48 +000025CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include
Chris Lattner4b009652007-07-25 00:24:17 +000026
27include $(LEVEL)/Makefile.common
28