mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Fix macOs build
This commit is contained in:
parent
95bbb9900b
commit
0043977566
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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 $<"
|
||||
|
|
Loading…
Reference in a new issue