# HG changeset patch # User diego # Date 1208079882 0 # Node ID d1a06d94040a86b07c231f9097b88645fa523093 # Parent 66580b034818c5efef16fdcc05a518fe02470d65 Simplify CLEANFILES generation. diff -r 66580b034818 -r d1a06d94040a Makefile --- 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