ref: 818203b5e44b60be9d32ff236e97d27d3496c2ce
parent: 759948c610bd441c1ede39cb0068f24c8441f84d
author: Licai Guo <[email protected]>
date: Mon Mar 24 16:11:53 EDT 2014
fix make test failure issue
--- a/Makefile
+++ b/Makefile
@@ -160,9 +160,9 @@
include test/encoder/targets.mk
endif
-binaries: codec_unittest
-BINARIES += codec_unittest
-codec_unittest: $(DECODER_UNITTEST_OBJS) $(ENCODER_UNITTEST_OBJS) $(API_TEST_OBJS)
+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) -o $@ $+ $(CODEC_UNITTEST_LDFLAGS) $(LDFLAGS)
-include $(OBJS:.$(OBJ)=.d)