1 ##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
11 LIBRARYNAME = LLVMCodeGen
12 PARALLEL_DIRS = SelectionDAG AsmPrinter
13 BUILD_ARCHIVE = 1
15 include $(LEVEL)/Makefile.common
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.
19 ifneq ($(HUGE_VAL_SANITY),yes)
20 CompileCommonOpts := $(filter-out -pedantic, $(CompileCommonOpts))
21 endif