Apply Michael Kahl's patch to fix the 'make tools-only' target when OBJDIR != SRCDIR.
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:56:40 +0000 (22:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:56:40 +0000 (22:56 +0000)
See PR222.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11102 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index f574193388acce0a65a7323af4d5deac1d3b8888..f9b834b79dcef1450b3920fce75f93de841d2e4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@ distclean:: clean
                          $(LEVEL)/config.log \
                          $(LEVEL)/TAGS
 
-tools-only:
-       @for dir in lib/Support utils lib tools; do $(MAKE) -C $$dir; done
+tools-only: DIRS = $(DIRS:runtime=)
+tools-only: all
 
 configure: autoconf/configure.ac autoconf/aclocal.m4
        cd autoconf && aclocal && autoconf -o ../configure configure.ac