ref: 97faa3abb6bcf608839bb3d094489db001e0b28a
parent: 685d595c3085229681412fffd39cfdfc1d0d6af0
author: Martin Storsjö <[email protected]>
date: Wed Apr 30 17:06:40 EDT 2014
Add a stub makefile target for binaries This avoids the following error when doing "make OS=ios" if gtest isn't installed: make: *** No rule to make target `binaries', needed by `all'. Stop. This fixes issue #752.
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,9 @@
codec_unittest$(EXEEXT): $(DECODER_UNITTEST_OBJS) $(ENCODER_UNITTEST_OBJS) $(PROCESSING_UNITTEST_OBJS) $(API_TEST_OBJS) $(CODEC_UNITTEST_DEPS)
$(QUIET)rm -f $@
$(QUIET_CXX)$(CXX) $(CXX_LINK_O) $+ $(CODEC_UNITTEST_LDFLAGS) $(LDFLAGS)
+else
+binaries:
+ @:
endif
-include $(OBJS:.$(OBJ)=.d)