ref: b1b6bdc3b809a3442a6208da0578e217650a134a
parent: 2f840d46c4412abfb1ae60183b5b2e6c40d8c9ab
parent: 032706f769fab4e414d7910e15ac4445997e4f66
author: huili2 <[email protected]>
date: Tue Mar 25 15:21:42 EDT 2014
Merge pull request #581 from licaiguo/fix-build-without-ut fix build failure without gtest
--- a/Makefile
+++ b/Makefile
@@ -158,12 +158,11 @@
include test/api/targets.mk
include test/decoder/targets.mk
include test/encoder/targets.mk
-endif
-
binaries: codec_unittest$(EXEEXT)
BINARIES += codec_unittest$(EXEEXT)
codec_unittest$(EXEEXT): $(DECODER_UNITTEST_OBJS) $(ENCODER_UNITTEST_OBJS) $(API_TEST_OBJS) $(CODEC_UNITTEST_DEPS)
$(QUIET)rm -f $@
$(QUIET_CXX)$(CXX) $(CXX_LINK_O) $+ $(CODEC_UNITTEST_LDFLAGS) $(LDFLAGS)
+endif
-include $(OBJS:.$(OBJ)=.d)