summaryrefslogtreecommitdiff
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 8af210ae77..544f003ab8 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -31,6 +31,15 @@ CLEANAMR=cleanamrfloat
endif
endif
+ifeq ($(AMR_WB),yes)
+OBJS+= amr.o amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o \
+ amrwb_float/dec_if.o amrwb_float/dec_lpc.o amrwb_float/dec_main.o \
+ amrwb_float/dec_rom.o amrwb_float/dec_util.o amrwb_float/enc_acelp.o \
+ amrwb_float/enc_dtx.o amrwb_float/enc_gain.o amrwb_float/enc_if.o \
+ amrwb_float/enc_lpc.o amrwb_float/enc_main.o amrwb_float/enc_rom.o \
+ amrwb_float/enc_util.o amrwb_float/if_rom.o
+endif
+CLEANAMRWB=cleanamrwbfloat
ASM_OBJS=
# codecs which are patented in some non free countries like the us
@@ -202,6 +211,9 @@ cleanamr:
cleanamrfloat:
rm -f amr_float/*.o
+cleanamrwbfloat:
+ $(MAKE) -C amrwb_float -f makefile.gcc clean
+
# api example program
apiexample: apiexample.c $(LIB)
$(CC) $(CFLAGS) -o $@ $< $(LIB) $(EXTRALIBS) -lm