Initial checking of the zlib library.
[oota-llvm.git] / Makefile
index f574193388acce0a65a7323af4d5deac1d3b8888..559cdfe8dd61b8957c78063d2d3566d89f9e0585 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,14 @@
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = .
-DIRS = lib/Support utils lib tools runtime
+DIRS = lib/Support utils lib tools 
 OPTIONAL_DIRS = projects
 
+ifneq ($(MAKECMDGOALS),tools-only)
+DIRS += runtime
+endif
+
+
 include $(LEVEL)/Makefile.common
 
 test :: all
@@ -22,8 +27,7 @@ distclean:: clean
                          $(LEVEL)/config.log \
                          $(LEVEL)/TAGS
 
-tools-only:
-       @for dir in lib/Support utils lib tools; do $(MAKE) -C $$dir; done
+tools-only: all
 
 configure: autoconf/configure.ac autoconf/aclocal.m4
        cd autoconf && aclocal && autoconf -o ../configure configure.ac