From 801096a8467b1515f9e839aca99b3133a3c95f0e Mon Sep 17 00:00:00 2001 From: Xenthio Date: Tue, 30 Nov 2021 10:45:31 +1100 Subject: [PATCH] oops, OSX_BUILD is not in this makefile, use a different approach instead. --- tools/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 9e9c9cc2..3a9eb342 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,9 +1,8 @@ CC := gcc CXX := g++ -ifeq ($(OSX_BUILD),1) -CFLAGS := -I../include -I. -Wall -Wextra -Wno-unused-parameter -pedantic -std=c99 -O2 -s -Wno-error=implicit-function-declaration -else CFLAGS := -I../include -I. -Wall -Wextra -Wno-unused-parameter -pedantic -std=c99 -O2 -s +ifeq ($(shell uname),Darwin) +CFLAGS += -Wno-error=implicit-function-declaration endif LDFLAGS := -lm PROGRAMS := n64graphics n64graphics_ci mio0 n64cksum textconv patch_libultra_math aifc_decode aiff_extract_codebook vadpcm_enc tabledesign extract_data_for_mio skyconv