Makefile revision cabc7af293504ad256d2203ae88ee11cbc34c2ed
1##===- examples/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##===----------------------------------------------------------------------===##
9LEVEL=..
10
11include $(LEVEL)/Makefile.config
12
13PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \
14	OCaml-Kaleidoscope
15
16ifeq ($(HAVE_PTHREAD),1)
17PARALLEL_DIRS += ParallelJIT 
18endif
19
20ifeq ($(LLVM_ON_UNIX),1)
21    ifeq ($(ARCH),x86)
22	PARALLEL_DIRS += ExceptionDemo
23    endif
24    ifeq ($(ARCH),x86_64)
25	PARALLEL_DIRS += ExceptionDemo
26    endif
27endif
28
29include $(LEVEL)/Makefile.common
30