mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-21 20:01:39 +00:00
Add make game.dylib for Darwin
This commit is contained in:
parent
eaaf6c43d4
commit
c18ba3bd91
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -151,6 +151,16 @@ rogue:
|
|||
${Q}mkdir -p release
|
||||
$(MAKE) release/game.dll
|
||||
|
||||
build/%.o: %.c
|
||||
@echo "===> CC $<"
|
||||
${Q}mkdir -p $(@D)
|
||||
${Q}$(CC) -c $(CFLAGS) -o $@ $<
|
||||
ifeq ($(OSTYPE), Darwin)
|
||||
rogue:
|
||||
@echo "===> Building game.dylib"
|
||||
${Q}mkdir -p release
|
||||
$(MAKE) release/game.dylib
|
||||
|
||||
build/%.o: %.c
|
||||
@echo "===> CC $<"
|
||||
${Q}mkdir -p $(@D)
|
||||
|
|
Loading…
Reference in a new issue