shithub: openh264

ref: 10bc74b35cb16328c8a62a4e58a2a8c6f6cb1ff3
dir: /test/common/targets.mk/

View raw version
COMMON_UNITTEST_SRCDIR=test/common
COMMON_UNITTEST_CPP_SRCS=\
	$(COMMON_UNITTEST_SRCDIR)/CWelsCircleQueue.cpp\
	$(COMMON_UNITTEST_SRCDIR)/CWelsListTest.cpp\
	$(COMMON_UNITTEST_SRCDIR)/ExpandPicture.cpp\
	$(COMMON_UNITTEST_SRCDIR)/WelsThreadPoolTest.cpp\

COMMON_UNITTEST_OBJS += $(COMMON_UNITTEST_CPP_SRCS:.cpp=.$(OBJ))

OBJS += $(COMMON_UNITTEST_OBJS)

$(COMMON_UNITTEST_SRCDIR)/%.$(OBJ): $(COMMON_UNITTEST_SRCDIR)/%.cpp
	$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(COMMON_UNITTEST_CFLAGS) $(COMMON_UNITTEST_INCLUDES) -c $(CXX_O) $<