build system. Thanks to Nick for pointing at the actual construct which
should be used here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161609
91177308-0d34-0410-b5e6-
96231b3b80d8
CLANG_LEVEL := ..
+include $(CLANG_LEVEL)/../../Makefile.config
+
DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
- clang-check $(patsubst %/Makefile,%,$(wildcard extra/Makefile))
+ clang-check
-include $(CLANG_LEVEL)/../../Makefile.config
+# Recurse into the extra repository of tools if present.
+OPTIONAL_DIRS := extra
include $(CLANG_LEVEL)/Makefile