LICM shouldn't sink/delete debug information. Fix this and add a testcase.
[oota-llvm.git] / examples / Makefile
index 9bf67bf2d4a6c5582f67e7ad9618769dbd29fc4f..eb5dabdcb13bc9e3d0f2d61fc650a8c9fc2ea138 100644 (file)
@@ -1,15 +1,19 @@
-##===- projects/Makefile ------------------------------*- Makefile -*-===##
+##===- examples/Makefile -----------------------------------*- Makefile -*-===##
 # 
 #                     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 = Fibonacci HowToUseJIT
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+ifeq ($(HAVE_PTHREAD),1)
+PARALLEL_DIRS += ParallelJIT 
+endif
+
+include $(LEVEL)/Makefile.common