summaryrefslogtreecommitdiff
path: root/tools/nitrogfx
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2021-11-24 11:13:36 -0500
committerGitHub <noreply@github.com>2021-11-24 11:13:36 -0500
commita84ecb36410c266f7d4628b261904c2ef2e02d66 (patch)
tree4a41590e86c0d22f80100fdb98ab1b2c33c9e306 /tools/nitrogfx
parent5ee0d715d5e030f74d159c6bcee33c4ec416e8be (diff)
parent48f301e353a728c328f6406a8c18f1da8d9de331 (diff)
Merge branch 'master' into extract_trainer_backsprites
Diffstat (limited to 'tools/nitrogfx')
-rw-r--r--tools/nitrogfx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/nitrogfx/Makefile b/tools/nitrogfx/Makefile
index 18ecdbba..16b2632d 100644
--- a/tools/nitrogfx/Makefile
+++ b/tools/nitrogfx/Makefile
@@ -1,8 +1,8 @@
CC = gcc
-CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK -D_CRT_SECURE_NO_WARNINGS
+CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK $(shell pkg-config --cflags libpng)
-LIBS = -lpng -lz
+LIBS = $(shell pkg-config --libs libpng)
SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c huff.c json.c cJSON.c