summaryrefslogtreecommitdiff
path: root/tools/rsfont
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rsfont')
-rw-r--r--tools/rsfont/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rsfont/Makefile b/tools/rsfont/Makefile
index d2a88c46d..544954bfc 100644
--- a/tools/rsfont/Makefile
+++ b/tools/rsfont/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
+CFLAGS = -Wall -Wextra -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK
LIBS = -lpng -lz
@@ -9,7 +9,7 @@ SRCS = main.c convert_png.c util.c font.c
.PHONY: clean
rsfont: $(SRCS) convert_png.h gfx.h global.h util.h font.h
- $(CC) $(CFLAGS) $(SRCS) -o $@ $(LIBS)
+ $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
clean:
$(RM) rsfont rsfont.exe