Unconditionally clean AMR subdirs.

Originally committed as revision 5344 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 19 years ago
parent c787ba854e
commit c7f1a2f56e
  1. 13
      libavcodec/Makefile

@ -240,14 +240,12 @@ AMROBJS=
ifeq ($(AMR_NB),yes) ifeq ($(AMR_NB),yes)
AMROBJS= amr.o AMROBJS= amr.o
OBJS+= amr_float/sp_dec.o amr_float/sp_enc.o amr_float/interf_dec.o amr_float/interf_enc.o OBJS+= amr_float/sp_dec.o amr_float/sp_enc.o amr_float/interf_dec.o amr_float/interf_enc.o
CLEANAMR=cleanamrfloat
endif endif
ifeq ($(AMR_NB_FIXED),yes) ifeq ($(AMR_NB_FIXED),yes)
AMROBJS= amr.o AMROBJS= amr.o
EXTRAOBJS += amr/*.o EXTRAOBJS += amr/*.o
EXTRADEPS=amrlibs EXTRADEPS=amrlibs
CLEANAMR=cleanamr
endif endif
ifeq ($(AMR_WB),yes) ifeq ($(AMR_WB),yes)
@ -258,7 +256,6 @@ OBJS+= amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o \
amrwb_float/enc_dtx.o amrwb_float/enc_gain.o amrwb_float/enc_if.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_lpc.o amrwb_float/enc_main.o amrwb_float/enc_rom.o \
amrwb_float/enc_util.o amrwb_float/if_rom.o amrwb_float/enc_util.o amrwb_float/if_rom.o
CLEANAMR=cleanamrwbfloat
endif endif
OBJS+= $(AMROBJS) OBJS+= $(AMROBJS)
@ -432,7 +429,7 @@ tests: apiexample cpuid_test $(TESTS)
dsputil.o: dsputil.c dsputil.h dsputil.o: dsputil.c dsputil.h
clean:: $(CLEANAMR) clean::
rm -f \ rm -f \
i386/*.o i386/*~ \ i386/*.o i386/*~ \
armv4l/*.o armv4l/*~ \ armv4l/*.o armv4l/*~ \
@ -443,15 +440,9 @@ clean:: $(CLEANAMR)
sh4/*.o sh4/*~ \ sh4/*.o sh4/*~ \
sparc/*.o sparc/*~ \ sparc/*.o sparc/*~ \
liba52/*.o liba52/*~ \ liba52/*.o liba52/*~ \
amr_float/*.o \
apiexample $(TESTS) apiexample $(TESTS)
cleanamr:
$(MAKE) -C amr clean $(MAKE) -C amr clean
cleanamrfloat:
rm -f amr_float/*.o
cleanamrwbfloat:
$(MAKE) -C amrwb_float -f makefile.gcc clean $(MAKE) -C amrwb_float -f makefile.gcc clean
# api example program # api example program

Loading…
Cancel
Save