Taints upcoming store and adds bogus conditional branches else where. Now as a separa...
[oota-llvm.git] / examples / Makefile
index 0737eaf57902c6c9ea13a73d20b64dbf16ea87a6..50a6db76aa2551a9510e78c1545e9491ebc437cd 100644 (file)
@@ -1,10 +1,10 @@
 ##===- examples/Makefile -----------------------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
 # This file is distributed under the University of Illinois Open Source
 # License. See LICENSE.TXT for details.
-# 
+#
 ##===----------------------------------------------------------------------===##
 LEVEL=..
 
@@ -13,7 +13,7 @@ include $(LEVEL)/Makefile.config
 PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
 
 ifeq ($(HAVE_PTHREAD),1)
-PARALLEL_DIRS += ParallelJIT 
+PARALLEL_DIRS += ParallelJIT
 endif
 
 ifeq ($(LLVM_ON_UNIX),1)
@@ -25,4 +25,8 @@ ifeq ($(LLVM_ON_UNIX),1)
     endif
 endif
 
+ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
+       PARALLEL_DIRS += OCaml-Kaleidoscope
+endif
+
 include $(LEVEL)/Makefile.common