changeset 6589:591209dba27a libavcodec

Generate the list of files to clean in subdirectories in common.mak. This way, it can be used from all directories.
author diego
date Sun, 13 Apr 2008 10:09:47 +0000
parents d1a06d94040a
children 4a50b15dc17a
files Makefile
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Apr 13 09:44:42 2008 +0000
+++ b/Makefile	Sun Apr 13 10:09:47 2008 +0000
@@ -467,11 +467,9 @@
 TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow)
 TESTS-$(ARCH_X86) += cpuid-test$(EXESUF) motion-test$(EXESUF)
 
+CLEANFILES = 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
 
 $(SUBDIR)cpuid-test$(EXESUF): $(SUBDIR)i386/cputest.c