aboutsummaryrefslogtreecommitdiff
path: root/utils/unittest
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-12-07 01:25:45 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-12-07 01:25:45 +0000
commitd33d2210dc1e677e1c6bb1342e33dfed57c95b8f (patch)
tree7b8f0f2235936ce8d9c51a6a40b75a38bdbecf39 /utils/unittest
parent105fdbb1312bac8c46ba2e28e9d6a70c0af151c8 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest')
-rw-r--r--utils/unittest/googletest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/unittest/googletest/Makefile b/utils/unittest/googletest/Makefile
index 280b012e67..bf736704f5 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