blob: 4ab3e3c0013ebc3f4b56fa9110e32d9c13f311a0 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
Misha Brukmane025bcc2009-01-09 16:44:42 +00002#
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003# 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.
Misha Brukmane025bcc2009-01-09 16:44:42 +00007#
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008##===----------------------------------------------------------------------===##
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