blob: e7d13f2722dfbcc3652c0c71e620cd7ab62541ce [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#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
Chris Lattner2abcf522004-01-09 06:24:06 +00009
Vikram S. Adve05f47452001-07-21 12:41:01 +000010LEVEL = ../..
Chris Lattner07097182006-11-03 19:13:59 +000011include $(LEVEL)/Makefile.config
Reid Spencer6cb21d42004-10-27 23:18:45 +000012LIBRARYNAME = LLVMCodeGen
Reid Spencer18c8b492006-06-01 01:30:27 +000013PARALLEL_DIRS = SelectionDAG
Andrew Lenharth74bda2e2006-07-20 17:27:58 +000014BUILD_ARCHIVE = 1
Vikram S. Adve05f47452001-07-21 12:41:01 +000015
Chris Lattner07097182006-11-03 19:13:59 +000016# Xcode prior to 2.4 generates an error in -pedantic mode with use of HUGE_VAL
17# in this directory. Disable -pedantic for this broken compiler.
18ifneq ($(HUGE_VAL_SANITY),yes)
19CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts))
20endif
21
Vikram S. Adve05f47452001-07-21 12:41:01 +000022include $(LEVEL)/Makefile.common