summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 5059ade930927..e7aa2fa4ffa0a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -8,9 +8,13 @@
##===----------------------------------------------------------------------===##
CLANG_LEVEL := ..
+
+include $(CLANG_LEVEL)/../../Makefile.config
+
DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
clang-check
-include $(CLANG_LEVEL)/../../Makefile.config
+# Recurse into the extra repository of tools if present.
+OPTIONAL_DIRS := extra
include $(CLANG_LEVEL)/Makefile