diff --git a/Makefile b/Makefile
index bf1a77210b5e655ff4e4c6aefde8188759f6e06b..288f3d4028d8087ff26bdd5ea19672aaf1816e26 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.