blob: f56aed0589962bb2dd71be54a74ee6bfa005bad7 [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001##===- clang/Lex/Makefile ----------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by Chris Lattner and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9#
10# This implements the Lexer library for the C-Language front-end.
11#
12##===----------------------------------------------------------------------===##
13
14LEVEL = ../../..
15include $(LEVEL)/Makefile.config
16
17LIBRARYNAME := clangLex
18BUILD_ARCHIVE = 1
19CXXFLAGS = -fno-rtti
20
21ifeq ($(ARCH),PowerPC)
22CXXFLAGS += -maltivec
23endif
24
25CPPFLAGS += -I$(PROJ_SRC_DIR)/../include
26
27include $(LEVEL)/Makefile.common
28