summaryrefslogtreecommitdiff
path: root/tools/rsfont
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-05-21 12:17:01 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-05-21 12:17:01 -0400
commit2ef0ea3098d09d20ea8fb4140e78e6e5717e0ac7 (patch)
tree085ea1e53b2a70996728ed08aad0566da69f0f52 /tools/rsfont
parenta8314b86903e5168e017345a4a0d1a5e9ec480aa (diff)
parentbfe02a627f9f49a94f90835d4284ab89d4e5a6f9 (diff)
Merge branch 'master' of github.com:pret/pokeruby into field_map_obj
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