blob: e2f569bbb23c9a75287255a2d1c507a1e8fa3e6a [file] [log] [blame]
Chris Lattner2abcf522004-01-09 06:24:06 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
John Criswelle488e932003-10-20 22:26:57 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattnerfc643c52007-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 Criswelle488e932003-10-20 22:26:57 +00007#
8##===----------------------------------------------------------------------===##
Chris Lattner2abcf522004-01-09 06:24:06 +00009
Vikram S. Adve05f47452001-07-21 12:41:01 +000010LEVEL = ../..
Reid Spencer6cb21d42004-10-27 23:18:45 +000011LIBRARYNAME = LLVMCodeGen
Reid Spencer18c8b492006-06-01 01:30:27 +000012PARALLEL_DIRS = SelectionDAG
Andrew Lenharth74bda2e2006-07-20 17:27:58 +000013BUILD_ARCHIVE = 1
Vikram S. Adve05f47452001-07-21 12:41:01 +000014
Chris Lattner033b1072006-11-03 19:15:55 +000015include $(LEVEL)/Makefile.common
16
Chris Lattner07097182006-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