From a401ce270495e88525a1bc6c1e445058d7e4a378 Mon Sep 17 00:00:00 2001 From: Xenthio Date: Tue, 30 Nov 2021 10:23:31 +1100 Subject: [PATCH] Fix the stdio.h error without the .DS_Store clutter issue --- tools/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index d663fb0a..9e9c9cc2 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,6 +1,10 @@ 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 +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