diff options
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 |