From ba7202457fec51d31da4d23a1840813952f30f31 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Fri, 5 Nov 2021 19:58:55 -0700 Subject: Update build scripts for MacOS Monterey; Use pkg-config on all platforms; MacOS no longer needs static libc++fs; Use gsed on MacOS --- tools/nitrogfx/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/nitrogfx') 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 -- cgit v1.2.3