aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e7aa2fa4ff..0bae772a97 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -11,10 +11,13 @@ CLANG_LEVEL := ..
include $(CLANG_LEVEL)/../../Makefile.config
-DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
- clang-check
+# Build libclang first so that other tools can depend on it.
+DIRS := libclang
+
+PARALLEL_DIRS := driver c-index-test arcmt-test c-arcmt-test diagtool \
+ clang-check
# Recurse into the extra repository of tools if present.
-OPTIONAL_DIRS := extra
+PARALLEL_OPTIONAL_DIRS := extra
include $(CLANG_LEVEL)/Makefile