2004-08-23 18:06:31 +00:00
|
|
|
##===- examples/Makefile -----------------------------------*- Makefile -*-===##
|
2004-08-19 20:09:14 +00:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 20:11:13 +00:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2004-08-19 20:09:14 +00:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2004-08-23 19:29:54 +00:00
|
|
|
LEVEL=..
|
2004-08-19 20:09:14 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2010-02-10 03:38:29 +00:00
|
|
|
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
|
2006-06-01 01:09:43 +00:00
|
|
|
|
2006-12-01 00:37:14 +00:00
|
|
|
ifeq ($(HAVE_PTHREAD),1)
|
2007-03-06 17:26:14 +00:00
|
|
|
PARALLEL_DIRS += ParallelJIT
|
2006-06-01 01:09:43 +00:00
|
|
|
endif
|
2004-08-19 20:09:14 +00:00
|
|
|
|
2010-02-10 03:38:29 +00:00
|
|
|
ifeq ($(LLVM_ON_UNIX),1)
|
2010-02-23 16:27:59 +00:00
|
|
|
ifeq ($(ARCH),x86)
|
|
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
|
|
endif
|
|
|
|
ifeq ($(ARCH),x86_64)
|
|
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
|
|
endif
|
2010-02-10 03:38:29 +00:00
|
|
|
endif
|
|
|
|
|
2004-08-23 19:29:54 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|