diff -Naur asterisk-84147.orig/channels/Makefile asterisk-84147.patched-clean/channels/Makefile --- asterisk-84147.orig/channels/Makefile 2007-07-09 14:37:47.000000000 +0700 +++ asterisk-84147.patched-clean/channels/Makefile 2007-10-01 16:12:57.000000000 +0700 @@ -80,6 +80,9 @@ $(CMD_PREFIX) exit 1 endif +clean:: + rm -f h323/Makefile + gentone: gentone.c $(ECHO_PREFIX) echo " [LD] $^ -> $@" $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS) diff -Naur asterisk-84147.orig/codecs/g722/Makefile asterisk-84147.patched-clean/codecs/g722/Makefile --- asterisk-84147.orig/codecs/g722/Makefile 2007-06-06 12:52:02.000000000 +0700 +++ asterisk-84147.patched-clean/codecs/g722/Makefile 2007-10-01 16:18:31.000000000 +0700 @@ -14,3 +14,4 @@ clean: rm -f $(LIB) *.o + rm -f .*.o.d diff -Naur asterisk-84147.orig/menuselect/Makefile asterisk-84147.patched-clean/menuselect/Makefile --- asterisk-84147.orig/menuselect/Makefile 2007-06-06 12:52:14.000000000 +0700 +++ asterisk-84147.patched-clean/menuselect/Makefile 2007-10-01 16:00:03.000000000 +0700 @@ -79,6 +79,6 @@ dist-clean: distclean distclean: clean - @if test -f mxml/Makefile ; then $(MAKE) -C mxml clean ; fi + @if test -f mxml/Makefile ; then $(MAKE) -C mxml distclean ; fi rm -f autoconfig.h config.status config.log makeopts rm -rf autom4te.cache diff -Naur asterisk-84147.orig/menuselect/mxml/Makefile.in asterisk-84147.patched-clean/menuselect/mxml/Makefile.in --- asterisk-84147.orig/menuselect/mxml/Makefile.in 2007-08-28 09:27:22.000000000 +0700 +++ asterisk-84147.patched-clean/menuselect/mxml/Makefile.in 2007-10-01 15:59:21.000000000 +0700 @@ -119,6 +119,8 @@ $(RM) config.cache config.log config.status config.h $(RM) -r autom4te*.cache +distclean: clean + $(RM) mxml.list Makefile # # Install everything... diff -Naur asterisk-84147.orig/res/Makefile asterisk-84147.patched-clean/res/Makefile --- asterisk-84147.orig/res/Makefile 2007-08-17 09:18:03.000000000 +0700 +++ asterisk-84147.patched-clean/res/Makefile 2007-10-01 15:47:48.000000000 +0700 @@ -45,4 +45,4 @@ clean:: rm -f snmp/*.o - rm -f ael*.o + rm -f ael/*.o