Skip to content

Commit

Permalink
unittest/googletest/Makefile: Unbreak out-of-tree build.
Browse files Browse the repository at this point in the history
  - 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
  • Loading branch information
chapuni committed Dec 7, 2012
1 parent 105fdbb commit d33d221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/unittest/googletest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d33d221

Please sign in to comment.