Add OCaml tutorial to the examples.
[oota-llvm.git] / examples / Makefile
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 ##===----------------------------------------------------------------------===##
9 LEVEL=..
10
11 include $(LEVEL)/Makefile.config
12
13 PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \
14         OCaml-Kaleidoscope
15
16 ifeq ($(HAVE_PTHREAD),1)
17 PARALLEL_DIRS += ParallelJIT 
18 endif
19
20 ifeq ($(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
27 endif
28
29 include $(LEVEL)/Makefile.common