Previously, GNU make would delete the implicit intermediate .a/.def files after building, see [1] for details.
Not deleting them does inflate the size of the build directory a little bit, but only very marginally (from 201 to 213 MB for a build with GCC for x86_64). By keeping them around, they are easier to inspect if debugging some aspect of them. (Although I haven't really needed to do this - this isn't the main motivation.) By not removing them, a build of mingw-w64-crt doesn't end with a huge wall of text of make doing "rm <all-implicit-files>", making it easier to observe the output of the other compile commands instead. [1] https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-crt/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 1436d8c18..239b19557 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -4324,3 +4324,7 @@ XFAIL_TESTS = \ # Include the complex math testcase fragment. include testcases/complex/Makefile.am + + +# Don't delete the implicit intermediate files after building. +.PRECIOUS: lib32/%.a lib32/%.def lib64/%.a lib64/%.def libarm32/%.a libarm32/%.def libarm64/%.a libarm64/%.def -- 2.43.0 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public