Adds a JIT based exception handling example to the examples directory.
[oota-llvm.git] / examples / Makefile
index c94b7017a0ebf4c60303ddc724c62dc1c97a665b..488d5895a89a09c2ed06425aff17c491636b9c96 100644 (file)
@@ -2,14 +2,19 @@
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL=../..
+LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \
+               ExceptionDemo
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+ifeq ($(HAVE_PTHREAD),1)
+PARALLEL_DIRS += ParallelJIT 
+endif
+
+include $(LEVEL)/Makefile.common