mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Makefile: added 'make strip' target
Binaries are always built with symbol table in to easy debugging and profiling. It is now possible to run: make strip To remove symbol table from the compiled binary. This could be useful to prepare the release version. Patch by Heinz van Saanen. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -75,6 +75,7 @@ help:
|
||||
@echo "make osx-ppc64 > PPC-Mac OS X 64 bit. Compiler = g++"
|
||||
@echo "make osx-x86 > x86-Mac OS X 32 bit. Compiler = g++"
|
||||
@echo "make osx-x86_64 > x86-Mac OS X 64 bit. Compiler = g++"
|
||||
@echo "make strip > Strip executable"
|
||||
@echo "make clean > Clean up"
|
||||
@echo ""
|
||||
|
||||
@@ -157,6 +158,9 @@ osx-x86_64:
|
||||
LDFLAGS+='-arch x86_64' \
|
||||
all
|
||||
|
||||
strip:
|
||||
strip $(EXE)
|
||||
|
||||
|
||||
### Compilation. Do not change
|
||||
$(EXE): $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user