blob: e2f569bbb23c9a75287255a2d1c507a1e8fa3e6a [file] [log] [blame]
Chris Lattner83e841662004-01-09 06:24:06 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
John Criswell4436c492003-10-20 22:26:57 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattnera087a8d2007-12-29 20:09:26 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
John Criswell4436c492003-10-20 22:26:57 +00007#
8##===----------------------------------------------------------------------===##
Chris Lattner83e841662004-01-09 06:24:06 +00009
Vikram S. Adve9c049ca2001-07-21 12:41:01 +000010LEVEL = ../..
Reid Spencer57cbe392004-10-27 23:18:45 +000011LIBRARYNAME = LLVMCodeGen
Reid Spencera647c7f2006-06-01 01:30:27 +000012PARALLEL_DIRS = SelectionDAG
Andrew Lenharth2b0badd2006-07-20 17:27:58 +000013BUILD_ARCHIVE = 1
Vikram S. Adve9c049ca2001-07-21 12:41:01 +000014
Chris Lattnerbb3ea2a2006-11-03 19:15:55 +000015include $(LEVEL)/Makefile.common
16
Chris Lattnera35f8c12006-11-03 19:13:59 +000017# 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