summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-03 23:05:24 +0000
committerChris Lattner <sabre@nondot.org>2004-02-03 23:05:24 +0000
commit6a8c2907b0721ce53ad6887be5b10eef50dac060 (patch)
tree6fb4da5c196eaf9d99c3abfbfa1a5402691cfa2c /Makefile
parent3e0bd31742510ec16593ad098e6fc0bba012a719 (diff)
downloadllvm-6a8c2907b0721ce53ad6887be5b10eef50dac060.tar.gz
Revised version of a patch for PR222 that works with my version of gmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f9b834b79dce..559cdfe8dd61 100644
--- 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