1
0
Fork 0

Fix 'make strip' for mingw.

Currently the make strip target is broken on mingw as the exe name is wrong (stockfish instead of stockfish.exe).

Needs some testing by mingw users (both profile-build and strip, native and cross).

No functional change.
pull/1569/merge
Joost VandeVondele 2018-04-27 00:07:56 +02:00 committed by Stéphane Nicolet
parent 11967e89cd
commit 3df8cabb84
1 changed files with 5 additions and 1 deletions

View File

@ -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: