commit 45104a3827474f50ee94e062e222e50f5b718561
parent 845da8a4f44e6f480135da5f89cf0ffae7734f24
Author: Rob King <jking@deadpixi.com>
Date: Mon, 23 Sep 2019 22:53:17 -0500
Prefer size optimization.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -1,5 +1,5 @@
CC ?= gcc
-CFLAGS ?= -std=c99 -Wall -Wextra -pedantic -g
+CFLAGS ?= -std=c99 -Wall -Wextra -pedantic -Os
FEATURES ?= -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED
HEADERS ?=
LIBPATH ?=
@@ -12,6 +12,7 @@ all: mtm
mtm: vtparser.c mtm.c config.h
$(CC) $(CFLAGS) $(FEATURES) -o $@ $(HEADERS) vtparser.c mtm.c $(LIBPATH) $(LIBS)
+ strip -s mtm
config.h: config.def.h
cp -i config.def.h config.h