mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +00:00
Merge pull request #1 from ElkanRoelen/bugfix/fix_OSX_build
Update Makefile
This commit is contained in:
commit
91a2050394
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