From 10b685210766f579e5b7a70eed685a464e7a0482 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 7 Dec 2012 01:25:45 +0000 Subject: [PATCH] unittest/googletest/Makefile: Unbreak out-of-tree build. - Use SOURCES instead of Source. See Makefile.rules and MakefileGuide.html. - Don't assume the current directory. $(wildcard *.cc) doesn't match anything on corresponding build directory. llvm-svn: 169568 --- utils/unittest/googletest/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/unittest/googletest/Makefile b/utils/unittest/googletest/Makefile index 280b012e67e..bf736704f54 100644 --- a/utils/unittest/googletest/Makefile +++ b/utils/unittest/googletest/Makefile @@ -36,6 +36,6 @@ endif NO_INSTALL = 1 -Source = $(filter-out gtest-all.cc,$(wildcard *.cc)) +SOURCES = $(filter-out gtest-all.cc, $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cc))) include $(LEVEL)/Makefile.common