mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +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:
parent
54382f8b07
commit
4a777954e1
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue