From: Bill Wendling Date: Sun, 30 Sep 2012 11:23:30 +0000 (+0000) Subject: Filter out tools and unittests which we don't want to build when we're building clang... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=615c3dda26323dc1b07333e060a64c2471b74d9e;p=clang Filter out tools and unittests which we don't want to build when we're building clang only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile b/Makefile index bf1a77210b..288f3d4028 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,11 @@ ifeq ($(MAKECMDGOALS),libs-only) DIRS := $(filter-out tools docs, $(DIRS)) OPTIONAL_DIRS := endif +ifeq ($(MAKECMDGOALS),clang-only) + DIRS := $(filter-out tools docs unittests, $(DIRS)) + tools/driver tools/libclang + OPTIONAL_DIRS := +endif ### # Common Makefile code, shared by all Clang Makefiles.