Don't always run the ocaml kaleidoscope tutorials.
[oota-llvm.git] / examples / Makefile
index 162a94e7a7fd35322985dd820096942be6feb77e..5594c05fa3a083e3e3a26e182933ee8d8e2e10d2 100644 (file)
@@ -10,8 +10,7 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \
-       OCaml-Kaleidoscope
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
 
 ifeq ($(HAVE_PTHREAD),1)
 PARALLEL_DIRS += ParallelJIT 
@@ -26,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