X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FMakefile;h=50a6db76aa2551a9510e78c1545e9491ebc437cd;hb=b54df5252a94075d5d070818b7da0dbc9a71d379;hp=162a94e7a7fd35322985dd820096942be6feb77e;hpb=49457b81589c6a3ef384caa8fdf1463ad2ada7c7;p=oota-llvm.git diff --git a/examples/Makefile b/examples/Makefile index 162a94e7a7f..50a6db76aa2 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,20 +1,19 @@ ##===- 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=.. 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 +PARALLEL_DIRS += ParallelJIT endif ifeq ($(LLVM_ON_UNIX),1) @@ -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