ref: e68f435a849e7d7cddb4464a6d02f1e2c15cefd5
parent: b1fc94e31448c40f750f1e0026da34afc51ef961
parent: a00b0ca79bbb83e8654a595434d3c3eed1634757
author: Ethan Hugg <[email protected]>
date: Thu Jan 16 05:35:31 EST 2014
Merge pull request #148 from varunbpatil/makefile_simplify simplify gtest makefile
--- a/build/gtest-targets.mk
+++ b/build/gtest-targets.mk
@@ -9,7 +9,7 @@
GTEST_INCLUDES += -Igtest
$(GTEST_SRCDIR)/src/gtest-all.o: $(GTEST_SRCDIR)/src/gtest-all.cc
- $(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(GTEST_CFLAGS) $(GTEST_INCLUDES) -c -o $(GTEST_SRCDIR)/src/gtest-all.o $(GTEST_SRCDIR)/src/gtest-all.cc
+ $(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(GTEST_CFLAGS) $(GTEST_INCLUDES) -c -o $@ $<
$(LIBPREFIX)gtest.$(LIBSUFFIX): $(GTEST_OBJS)
rm -f $(LIBPREFIX)gtest.$(LIBSUFFIX)