blob: 0737eaf57902c6c9ea13a73d20b64dbf16ea87a6 [file] [log] [blame]
Reid Spencerc21214a2004-08-23 18:06:31 +00001##===- examples/Makefile -----------------------------------*- Makefile -*-===##
Reid Spencerf3b47552004-08-19 20:09:14 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner57360d12007-12-29 20:11:13 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Reid Spencerf3b47552004-08-19 20:09:14 +00007#
8##===----------------------------------------------------------------------===##
Reid Spencer3a168a72004-08-23 19:29:54 +00009LEVEL=..
Reid Spencerf3b47552004-08-19 20:09:14 +000010
11include $(LEVEL)/Makefile.config
12
Garrison Venn0f08a272010-02-10 03:38:29 +000013PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
Reid Spencerb756c792006-06-01 01:09:43 +000014
Reid Spencer1000b732006-12-01 00:37:14 +000015ifeq ($(HAVE_PTHREAD),1)
Reid Spencerc20c6c32007-03-06 17:26:14 +000016PARALLEL_DIRS += ParallelJIT
Reid Spencerb756c792006-06-01 01:09:43 +000017endif
Reid Spencerf3b47552004-08-19 20:09:14 +000018
Garrison Venn0f08a272010-02-10 03:38:29 +000019ifeq ($(LLVM_ON_UNIX),1)
Garrison Vennc80a1f72010-02-23 16:27:59 +000020 ifeq ($(ARCH),x86)
21 PARALLEL_DIRS += ExceptionDemo
22 endif
23 ifeq ($(ARCH),x86_64)
24 PARALLEL_DIRS += ExceptionDemo
25 endif
Garrison Venn0f08a272010-02-10 03:38:29 +000026endif
27
Reid Spencer3a168a72004-08-23 19:29:54 +000028include $(LEVEL)/Makefile.common