openh264/build/gtest-targets.mk

17 lines
463 B
Makefile
Raw Normal View History

2013-12-12 04:20:23 +01:00
GTEST_SRCDIR=gtest
GTEST_CPP_SRCS=\
$(GTEST_SRCDIR)/src/gtest-all.cc\
2013-12-12 04:20:23 +01:00
GTEST_OBJS += $(GTEST_CPP_SRCS:.cc=.o)
2013-12-12 04:20:23 +01:00
OBJS += $(GTEST_OBJS)
$(GTEST_SRCDIR)/%.o: $(GTEST_SRCDIR)/%.cc
$(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)
$(QUIET)rm -f $@
$(QUIET_AR)$(AR) $(AR_OPTS) $+
2013-12-12 04:20:23 +01:00
libraries: $(LIBPREFIX)gtest.$(LIBSUFFIX)
LIBRARIES += $(LIBPREFIX)gtest.$(LIBSUFFIX)