Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame^] | 1 | ##===- 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 | |
| 14 | LEVEL = ../../.. |
| 15 | include $(LEVEL)/Makefile.config |
| 16 | |
| 17 | LIBRARYNAME := clangLex |
| 18 | BUILD_ARCHIVE = 1 |
| 19 | CXXFLAGS = -fno-rtti |
| 20 | |
| 21 | ifeq ($(ARCH),PowerPC) |
| 22 | CXXFLAGS += -maltivec |
| 23 | endif |
| 24 | |
| 25 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../include |
| 26 | |
| 27 | include $(LEVEL)/Makefile.common |
| 28 | |