Makefile - Strip executeable

This commit is contained in:
Moritz Lipp 2010-06-22 01:14:13 +02:00
parent 9896c2afd0
commit 011affefbc
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@ config.h:
${PROJECT}: ${OBJECTS}
@echo CC -o $@
@${CC} -s ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
@${CC} ${SFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
clean:
@rm -rf ${PROJECT} ${OBJECTS} ${PROJECT}-${VERSION}.tar.gz \

View File

@ -22,3 +22,6 @@ DFLAGS = -g
# compiler
CC ?= gcc
# strip
SFLAGS = -s