aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index d71651deda..a6530ee6f5 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -10,7 +10,10 @@ LEVEL=..
include $(LEVEL)/Makefile.config
-#PARALLEL_DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
-PARALLEL_DIRS:= ParallelJIT Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
+PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
+
+ifeq ($(ENABLE_THREADS),1)
+PARALLEL_DIRS += ParallelJIT
+endif
include $(LEVEL)/Makefile.common