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
|
|
|
|
|
|
|
GTEST_OBJS += $(GTEST_CPP_SRCS:.cc=.o)
|
2014-02-12 21:11:05 +01:00
|
|
|
|
2013-12-12 04:20:23 +01:00
|
|
|
OBJS += $(GTEST_OBJS)
|
2014-01-17 08:55:21 +01:00
|
|
|
$(GTEST_SRCDIR)/%.o: $(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)
|