blob: 29158e2dde787390cbe34c273dfb07334c7814b1 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner80455b82007-12-29 20:09:26 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ../..
11LIBRARYNAME = LLVMCodeGen
Anton Korobeynikoveb7f7202008-08-17 13:53:04 +000012PARALLEL_DIRS = SelectionDAG AsmPrinter
Dan Gohmanf17a25c2007-07-18 16:29:46 +000013BUILD_ARCHIVE = 1
14
15include $(LEVEL)/Makefile.common
16
17# Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL
18# in this directory. Disable -pedantic for this broken compiler.
19ifneq ($(HUGE_VAL_SANITY),yes)
20CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts))
21endif
22