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

Michael Stefaniuc mstefani at redhat.com
Mon Oct 15 14:38:52 CDT 2007


Alexandre Julliard wrote:
> Gerald Pfeifer <gerald at pfeifer.com> writes:
> 
>> 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?
> 
> It would be, but I don't think we want make clean to remove all
> possible output files from all possible tools. The current list is
> probably too much already, it should really be limited to files that
> are generated as part of the normal build process.
That's why the right way to keep the source tree clean is to use a
separate build dir. That way a "make reallyclean" is a simple "rm -r
$wine_build_dir".

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
                 Werner Knoblich



More information about the wine-devel mailing list