2013-12-12 04:20:23 +01:00
|
|
|
GTEST_SRCDIR=gtest
|
|
|
|
GTEST_CPP_SRCS=\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(GTEST_SRCDIR)/src/gtest-all.cc\
|
2013-12-12 04:20:23 +01:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
GTEST_OBJS += $(GTEST_CPP_SRCS:.cc=.$(OBJ))
|
2014-02-12 21:11:05 +01:00
|
|
|
|
2013-12-12 04:20:23 +01:00
|
|
|
OBJS += $(GTEST_OBJS)
|
2014-09-25 08:03:11 +02:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
$(GTEST_SRCDIR)/%.$(OBJ): $(GTEST_SRCDIR)/%.cc
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(GTEST_CFLAGS) $(GTEST_INCLUDES) -c $(CXX_O) $<
|
2013-12-12 04:20:23 +01:00
|
|
|
|
|
|
|
$(LIBPREFIX)gtest.$(LIBSUFFIX): $(GTEST_OBJS)
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET)rm -f $@
|
|
|
|
$(QUIET_AR)$(AR) $(AR_OPTS) $+
|
2013-12-12 04:20:23 +01:00
|
|
|
|
|
|
|
libraries: $(LIBPREFIX)gtest.$(LIBSUFFIX)
|
|
|
|
LIBRARIES += $(LIBPREFIX)gtest.$(LIBSUFFIX)
|