Update Makefile

This commit is contained in:
Elkan Roelen 2018-09-10 20:46:06 +02:00 committed by GitHub
parent 95bbb9900b
commit 7e81862140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 $<"