Don't build the runtime library if LLVMGCC is not configured.
[oota-llvm.git] / projects / Stacker / lib / Makefile
1 ##===- projects/Stacker/lib/Makefile -----------------------*- Makefile -*-===##
2 #
3 # Compile Stacker libraries
4 #
5 ##===----------------------------------------------------------------------===##
6
7 LEVEL = ..
8 DIRS = compiler runtime
9
10 # Don't generate the runtime if we don't have LLVMGCC
11 ifeq ($(LLVMGCC),)
12   DIRS := $(filter-out runtime, $(DIRS))
13 endif
14
15 include $(LEVEL)/Makefile.common