]> granicus.if.org Git - clang/commitdiff
Allow the Makefile build system to find the extra repo if it is checked
authorChandler Carruth <chandlerc@gmail.com>
Thu, 9 Aug 2012 00:05:27 +0000 (00:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 9 Aug 2012 00:05:27 +0000 (00:05 +0000)
out.

Unfortunately, the existing makefiles for the extra repo don't specify
the correct library dependencies. Fixing that next. If you're following
along, you'll get linker errors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161549 91177308-0d34-0410-b5e6-96231b3b80d8

tools/Makefile

index 5059ade930927d1eaad651ff29924b01b7b1156f..dad767cf45990fc1f052a398b634b7ce0ec3cb1a 100644 (file)
@@ -8,8 +8,9 @@
 ##===----------------------------------------------------------------------===##
 
 CLANG_LEVEL := ..
+
 DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
-        clang-check
+        clang-check $(patsubst %/Makefile,%,$(wildcard extra/Makefile))
 
 include $(CLANG_LEVEL)/../../Makefile.config