Skip to content

Commit

Permalink
Prefer size optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpixi committed Sep 24, 2019
1 parent 845da8a commit 45104a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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 ?=
Expand All @@ -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
Expand Down

0 comments on commit 45104a3

Please sign in to comment.