diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-30 11:23:30 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-30 11:23:30 +0000 |
commit | 615c3dda26323dc1b07333e060a64c2471b74d9e (patch) | |
tree | f4a627eaee3d3aa12c383862d83c088d1f0a1be2 /Makefile | |
parent | a2cccd0fc17f3ea66e3e8cfe27723b7f8d46a5c8 (diff) | |
download | clang-615c3dda26323dc1b07333e060a64c2471b74d9e.tar.gz |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |