changeset 6588:d1a06d94040a libavcodec

Simplify CLEANFILES generation.
author diego
date Sun, 13 Apr 2008 09:44:42 +0000
parents 66580b034818
children 591209dba27a
files Makefile
diffstat 1 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Apr 13 07:48:43 2008 +0000
+++ b/Makefile	Sun Apr 13 09:44:42 2008 +0000
@@ -467,17 +467,10 @@
 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