From: NAKAMURA Takumi Date: Fri, 7 Dec 2012 01:25:45 +0000 (+0000) Subject: unittest/googletest/Makefile: Unbreak out-of-tree build. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10dd766ab07f03c1fc6e84874b8fe2e8f62d138a;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/llvm/utils/unittest/googletest/Makefile b/llvm/utils/unittest/googletest/Makefile index 280b012..bf73670 100644 --- a/llvm/utils/unittest/googletest/Makefile +++ b/llvm/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