diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-11-24 09:38:34 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-11-24 09:38:34 -0500 |
commit | c619240caca34b085918f948da2aac55d1e76691 (patch) | |
tree | 2de219f1e01d4d2484d17c77442a3c9da3c2aa69 /tools/nitrogfx | |
parent | 94e97e9e77ed2e54faf76716d76406b81d24c14e (diff) |
Fix build system for macOS
Diffstat (limited to 'tools/nitrogfx')
-rw-r--r-- | tools/nitrogfx/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/nitrogfx/Makefile b/tools/nitrogfx/Makefile index 37d30b2d..2ed6cf1e 100644 --- a/tools/nitrogfx/Makefile +++ b/tools/nitrogfx/Makefile @@ -1,14 +1,14 @@ CC = gcc -HAVE_LIBPNG := $(shell $(PKGCONFIG) libpng; echo $?) +HAVE_LIBPNG := $(shell pkg-config libpng; echo $?) ifeq ($(HAVE_LIBPNG),1) $(error No package 'libpng' found) endif -CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK $(shell $(PKGCONFIG) --cflags libpng) +CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK $(shell pkg-config --cflags libpng) -LIBS = $(shell $(PKGCONFIG) --libs libpng) +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 |