Have isel visit blocks in reverse postorder rather than an undefined order. This
[oota-llvm.git] / tools / llvmc / Makefile
index 71f04292736c9acbe9f9608d3daa36fe8ab5a32c..7c03e2a74f7c6b2f97161a0cf1e1103c5ac79899 100644 (file)
@@ -1,14 +1,18 @@
 ##===- tools/llvmc/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 = ../..
-TOOLNAME = llvmc
-USEDLIBS = bcreader vmcore support.a LLVMsystem.a
-CONFIG_FILES = st ll
+
+DIRS = src
+
+ifeq ($(BUILD_EXAMPLES),1)
+  OPTIONAL_DIRS += examples
+endif
 
 include $(LEVEL)/Makefile.common