blob: 4ab3e3c0013ebc3f4b56fa9110e32d9c13f311a0 [file] [log] [blame]
Chris Lattner2abcf522004-01-09 06:24:06 +00001##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
Misha Brukman9b8f5422009-01-09 16:44:42 +00002#
John Criswelle488e932003-10-20 22:26:57 +00003# 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.
Misha Brukman9b8f5422009-01-09 16:44:42 +00007#
John Criswelle488e932003-10-20 22:26:57 +00008##===----------------------------------------------------------------------===##
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
Anton Korobeynikovabb247f2008-08-17 13:53:04 +000012PARALLEL_DIRS = SelectionDAG AsmPrinter
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