ref: f5fd72f61ebd5de94f0c8527006d5af5b8cfe113
parent: b4a941698a70d52b7e70b3594f1bdbfcbc964ba2
author: Martin Storsjö <martin@martin.st>
date: Mon Jan 27 09:42:36 EST 2014
Build one large static library containing both decoder and encoder
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,14 @@
include codec/console/dec/targets.mk
include codec/console/enc/targets.mk
+libraries: $(LIBPREFIX)wels.$(LIBSUFFIX)
+LIBRARIES += $(LIBPREFIX)wels.$(LIBSUFFIX)
+
+$(LIBPREFIX)wels.$(LIBSUFFIX): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
+ rm -f $@
+ $(AR) $(AR_OPTS) $+
+
+
ifeq ($(HAVE_GTEST),Yes)
include build/gtest-targets.mk
include test/targets.mk