Makefile - Strip executeable

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

View file

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

View file

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