Thanks to the XTARGET line, this test should still
[oota-llvm.git] / examples / Makefile
index 9bf67bf2d4a6c5582f67e7ad9618769dbd29fc4f..4251ab39c5be485c28e29c07e78287835fffeef8 100644 (file)
@@ -1,4 +1,4 @@
-##===- projects/Makefile ------------------------------*- Makefile -*-===##
+##===- examples/Makefile -----------------------------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #
@@ -6,10 +6,14 @@
 # the University of Illinois Open Source License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL=../..
+LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS = Fibonacci HowToUseJIT
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT ModuleMaker
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+ifeq ($(HAVE_PTHREAD),1)
+PARALLEL_DIRS += ParallelJIT 
+endif
+
+include $(LEVEL)/Makefile.common