unittest/googletest/Makefile: Unbreak out-of-tree build.
[oota-llvm.git] / utils / unittest / googletest / Makefile
index 280b012e67e97d0b71a6a4112b350e20e7975c70..bf736704f5498dc37ad3d31bd4d6f81dd7d48e14 100644 (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