1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 17:19:36 +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:
Marco Costalba 2009-08-08 17:37:13 +01:00
parent 54382f8b07
commit 4a777954e1

View file

@ -75,6 +75,7 @@ help:
@echo "make osx-ppc64 > PPC-Mac OS X 64 bit. Compiler = g++" @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 > x86-Mac OS X 32 bit. Compiler = g++"
@echo "make osx-x86_64 > x86-Mac OS X 64 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 "make clean > Clean up"
@echo "" @echo ""
@ -157,6 +158,9 @@ osx-x86_64:
LDFLAGS+='-arch x86_64' \ LDFLAGS+='-arch x86_64' \
all all
strip:
strip $(EXE)
### Compilation. Do not change ### Compilation. Do not change
$(EXE): $(OBJS) $(EXE): $(OBJS)