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