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
This commit is contained in:
NAKAMURA Takumi 2012-12-07 01:25:45 +00:00
parent 2769418827
commit 10b6852107

View File

@ -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