From 77405bb879d88fda458801f3a7ee82fecdef5ed3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 13 Apr 2008 09:44:42 +0000 Subject: [PATCH] Simplify CLEANFILES generation. Originally committed as revision 12798 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index a47f04b70..9bde81bf5 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -467,17 +467,10 @@ ASM_OBJS-$(ARCH_BFIN) += bfin/pixels_bfin.o \ TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow) TESTS-$(ARCH_X86) += cpuid-test$(EXESUF) motion-test$(EXESUF) -CLEANFILES = \ - alpha/*.o alpha/*~ \ - armv4l/*.o armv4l/*~ \ - bfin/*.o bfin/*~ \ - i386/*.o i386/*~ \ - mlib/*.o mlib/*~ \ - ppc/*.o ppc/*~ \ - ps2/*.o ps2/*~ \ - sh4/*.o sh4/*~ \ - sparc/*.o sparc/*~ \ - apiexample$(EXESUF) +DIRS = alpha armv4l bfin i386 mlib ppc ps2 sh4 sparc + +CLEANFILES = $(addsuffix /*.o,$(DIRS)) $(addsuffix /*.ho,$(DIRS)) \ + $(addsuffix /*~,$(DIRS)) apiexample$(EXESUF) include $(SUBDIR)../subdir.mak -- 2.11.0