summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest
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
commit10dd766ab07f03c1fc6e84874b8fe2e8f62d138a (patch)
tree359e4621fa98d243265d4bc8628202939aed3dc7 /llvm/utils/unittest/googletest
parentc1a9ecd8736d8c56beaeb0b8685c441fc0c9795a (diff)
downloadbcm5719-llvm-10dd766ab07f03c1fc6e84874b8fe2e8f62d138a.tar.gz
bcm5719-llvm-10dd766ab07f03c1fc6e84874b8fe2e8f62d138a.zip
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
Diffstat (limited to 'llvm/utils/unittest/googletest')
-rw-r--r--llvm/utils/unittest/googletest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/unittest/googletest/Makefile b/llvm/utils/unittest/googletest/Makefile
index 280b012e67e..bf736704f54 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
OpenPOWER on IntegriCloud