]> git.sesse.net Git - stockfish/commitdiff
Makefile: better "make clean" for Windows
authorStéphane Nicolet <cassio@free.fr>
Wed, 2 Jun 2021 06:10:54 +0000 (08:10 +0200)
committerStéphane Nicolet <cassio@free.fr>
Thu, 3 Jun 2021 23:32:11 +0000 (01:32 +0200)
Make clean should be really clean on Windows.

Fixes issue https://github.com/official-stockfish/Stockfish/issues/3291
Closes https://github.com/official-stockfish/Stockfish/pull/3517

No functional change

src/Makefile

index 066e7697dee39007e8f6e3c92b34418e3d3a1f33..bd75ec524827d4c5533408e197115f6cf7e3849d 100644 (file)
@@ -793,6 +793,9 @@ profileclean:
        @rm -rf profdir
        @rm -f bench.txt *.gcda *.gcno ./syzygy/*.gcda ./nnue/*.gcda ./nnue/features/*.gcda *.s
        @rm -f stockfish.profdata *.profraw
+       @rm -f stockfish.exe.lto_wrapper_args
+       @rm -f stockfish.exe.ltrans.out
+       @rm -f ./-lstdc++.res
 
 default:
        help