Have `make distclean` also remove .i and .s files

Gerald Pfeifer gerald at pfeifer.com
Sun Oct 14 15:35:09 CDT 2007


After using GCC's -save-temps option to debug something, I noticed
that `make distclean` fails to actually remove .i and .s files.

This patch fixes it.  I hope it's the right place to make this change?

Gerald

ChangeLog:
Add *.i and *.s to CLEAN_FILES.

Index: Make.rules.in
===================================================================
RCS file: /home/wine/wine/Make.rules.in,v
retrieving revision 1.220
diff -u -3 -p -r1.220 Make.rules.in
--- Make.rules.in	19 Sep 2007 13:18:02 -0000	1.220
+++ Make.rules.in	14 Oct 2007 20:32:07 -0000
@@ -107,7 +107,7 @@ dlldir          = @libdir@/wine
 prog_manext     = 1
 api_manext      = 3w
 conf_manext     = 5
-CLEAN_FILES     = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core
+CLEAN_FILES     = *.o *.i *.s *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core
 
 IDL_GEN_C_SRCS  = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \
                   $(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)



More information about the wine-patches mailing list