From 6a8c2907b0721ce53ad6887be5b10eef50dac060 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Feb 2004 23:05:24 +0000 Subject: [PATCH] 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 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f9b834b79dc..559cdfe8dd6 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