• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15ifeq ($(HAVE_PTHREAD),1)
16PARALLEL_DIRS += ParallelJIT
17endif
18
19ifeq ($(LLVM_ON_UNIX),1)
20    ifeq ($(ARCH),x86)
21	PARALLEL_DIRS += ExceptionDemo
22    endif
23    ifeq ($(ARCH),x86_64)
24	PARALLEL_DIRS += ExceptionDemo
25    endif
26endif
27
28ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
29	PARALLEL_DIRS += OCaml-Kaleidoscope
30endif
31
32include $(LEVEL)/Makefile.common
33