[llvm-commits] [llvm] r169568 - /llvm/trunk/utils/unittest/googletest/Makefile

NAKAMURA Takumi geek4civic at gmail.com
Thu Dec 6 17:25:45 PST 2012


Author: chapuni
Date: Thu Dec  6 19:25:45 2012
New Revision: 169568

URL: http://llvm.org/viewvc/llvm-project?rev=169568&view=rev
Log:
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.

Modified:
    llvm/trunk/utils/unittest/googletest/Makefile

Modified: llvm/trunk/utils/unittest/googletest/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/Makefile?rev=169568&r1=169567&r2=169568&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/Makefile (original)
+++ llvm/trunk/utils/unittest/googletest/Makefile Thu Dec  6 19:25:45 2012
@@ -36,6 +36,6 @@
 
 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





More information about the llvm-commits mailing list