mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-15 19:19:38 +00:00
res_resample, and mark codec_resample as dependent upon res_resample. This prevents the linker from optimizing away libresample, and also makes it so the libresample code isn't linked in to multiple places. (I have another module in a branch that needs it, too.) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
12 lines
274 B
Makefile
12 lines
274 B
Makefile
include $(ASTTOPDIR)/Makefile.moddir_rules
|
|
|
|
ASTCFLAGS+= -Isrc -Iinclude
|
|
|
|
libresample.a: src/resample.o src/resamplesubs.o src/filterkit.o
|
|
$(ECHO_PREFIX) echo " [AR] $^ -> $@"
|
|
$(CMD_PREFIX) $(AR) cr $@ $^
|
|
$(CMD_PREFIX) $(RANLIB) $@
|
|
|
|
clean::
|
|
rm -f src/*.o libresample.a
|