Have isel visit blocks in reverse postorder rather than an undefined order. This
[oota-llvm.git] / tools / llvmc / Makefile
index 4354c387d40a7529f92a0277c2e303129e93a6bd..7c03e2a74f7c6b2f97161a0cf1e1103c5ac79899 100644 (file)
@@ -9,11 +9,10 @@
 
 LEVEL = ../..
 
-BUILTIN_PLUGINS = Base Clang
-DRIVER_NAME = llvmc
-DIRS = plugins driver
+DIRS = src
 
-export BUILTIN_PLUGINS
-export DRIVER_NAME
+ifeq ($(BUILD_EXAMPLES),1)
+  OPTIONAL_DIRS += examples
+endif
 
 include $(LEVEL)/Makefile.common