From 7e818621409962daeb6bbaac8ef79e6bfcdd19ab Mon Sep 17 00:00:00 2001 From: Elkan Roelen Date: Mon, 10 Sep 2018 20:46:06 +0200 Subject: [PATCH] Update Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4654d9bf..9b31fb11 100755 --- a/Makefile +++ b/Makefile @@ -360,10 +360,10 @@ client: $(MAKE) release/quake2 ifeq ($(YQ2_OSTYPE), Darwin) -build/client/%.o : %.m +build/client/%.o : %.c @echo "===> CC $<" ${Q}mkdir -p $(@D) - ${Q}$(CC) $(OSX_ARCH) -x objective-c -c $< -o $@ + ${Q}$(CC) $(OSX_ARCH) -x objective-c -c $(CFLAGS) $(SDLCFLAGS) $(ZIPCFLAGS) $(INCLUDE) $< -o $@ else build/client/%.o: %.c @echo "===> CC $<"