X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=34264e78e0cef94733a495d516f7a637f459c635;hp=25436e25d5da58d9837408e7e18f0d0d148c6521;hb=12e79be91039796299187ba1b2f1559552642ea4;hpb=94b3cdd908f68e20a09f67dba40103fd671f5f17 diff --git a/src/Makefile b/src/Makefile index 25436e25..34264e78 100644 --- a/src/Makefile +++ b/src/Makefile @@ -22,7 +22,11 @@ ### ========================================================================== ### Executable name +ifeq ($(COMP),mingw) +EXE = stockfish.exe +else EXE = stockfish +endif ### Installation dir definitions PREFIX = /usr/local @@ -437,7 +441,7 @@ clean: objclean profileclean # clean binaries and objects objclean: - @rm -f $(EXE) $(EXE).exe *.o ./syzygy/*.o + @rm -f $(EXE) *.o ./syzygy/*.o # clean auxiliary profiling files profileclean: