Skip to content

Commit

Permalink
Fix 'make strip' for mingw.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vondele authored and snicolet committed Apr 29, 2018
1 parent 11967e8 commit 3df8cab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Makefile
Expand Up @@ -22,7 +22,11 @@
### ==========================================================================

### Executable name
ifeq ($(COMP),mingw)
EXE = stockfish.exe
else
EXE = stockfish
endif

### Installation dir definitions
PREFIX = /usr/local
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3df8cab

Please sign in to comment.