changeset 3289:d3371df2542b libavcodec

Unconditionally clean AMR subdirs.
author diego
date Fri, 05 May 2006 09:41:06 +0000
parents 95f50b66e0b1
children 97cc530ab3d3
files Makefile
diffstat 1 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue May 02 18:45:04 2006 +0000
+++ b/Makefile	Fri May 05 09:41:06 2006 +0000
@@ -240,14 +240,12 @@
 ifeq ($(AMR_NB),yes)
 AMROBJS= amr.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
 
 ifeq ($(AMR_NB_FIXED),yes)
 AMROBJS= amr.o
 EXTRAOBJS += amr/*.o
 EXTRADEPS=amrlibs
-CLEANAMR=cleanamr
 endif
 
 ifeq ($(AMR_WB),yes)
@@ -258,7 +256,6 @@
        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
-CLEANAMR=cleanamrwbfloat
 endif
 
 OBJS+= $(AMROBJS)
@@ -432,7 +429,7 @@
 
 dsputil.o: dsputil.c dsputil.h
 
-clean:: $(CLEANAMR)
+clean::
 	rm -f \
 	   i386/*.o i386/*~ \
 	   armv4l/*.o armv4l/*~ \
@@ -443,15 +440,9 @@
 	   sh4/*.o sh4/*~ \
 	   sparc/*.o sparc/*~ \
 	   liba52/*.o liba52/*~ \
+	   amr_float/*.o \
 	   apiexample $(TESTS)
-
-cleanamr:
 	$(MAKE) -C amr clean
-
-cleanamrfloat:
-	rm -f amr_float/*.o
-
-cleanamrwbfloat:
 	$(MAKE) -C amrwb_float -f makefile.gcc clean
 
 # api example program