aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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.