Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / examples / Makefile
blob50a6db76aa2551a9510e78c1545e9491ebc437cd
1 ##===- examples/Makefile -----------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
9 LEVEL=..
11 include $(LEVEL)/Makefile.config
13 PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
15 ifeq ($(HAVE_PTHREAD),1)
16 PARALLEL_DIRS += ParallelJIT
17 endif
19 ifeq ($(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
26 endif
28 ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
29 PARALLEL_DIRS += OCaml-Kaleidoscope
30 endif
32 include $(LEVEL)/Makefile.common