Revert last patch. The examples build now.
[oota-llvm.git] / examples / Makefile
index 9b66d034a804fff885f16fad1518962b3b91889b..873c5825abfd14a51433ad919328bb22d3ca627b 100644 (file)
@@ -10,7 +10,10 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-#PARALLEL_DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
 PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
 
+ifeq ($(HAVE_PTHREAD),1)
+PARALLEL_DIRS += ParallelJIT 
+endif
+
 include $(LEVEL)/Makefile.common