Revised version of a patch for PR222 that works with my version of gmake.
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 23:05:24 +0000 (23:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 23:05:24 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11104 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index f9b834b79dcef1450b3920fce75f93de841d2e4a..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,7 +27,6 @@ distclean:: clean
                          $(LEVEL)/config.log \
                          $(LEVEL)/TAGS
 
-tools-only: DIRS = $(DIRS:runtime=)
 tools-only: all
 
 configure: autoconf/configure.ac autoconf/aclocal.m4