commit ea01e94bd58fb239ee51da4d6543c415e3841a49 parent 098c6bb48f3cf7f254df4eb405f6981ab9cd8f7c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 10 Oct 2014 19:03:44 +0000 make: enable release cflags and ldflags Diffstat:
M | config.mk | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.mk b/config.mk @@ -14,12 +14,12 @@ LIBS = -L/usr/lib -lc -lncurses CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -D_XOPEN_SOURCE # debug -CFLAGS = -g -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} -LDFLAGS = ${LIBS} +#CFLAGS = -g -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} +#LDFLAGS = ${LIBS} # release -#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -#LDFLAGS = -s ${LIBS} +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} # compiler and linker CC = cc