mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-29 23:42:25 +00:00
Merge pull request #15 from afreuden/master
Add make game.dylib for Darwin
This commit is contained in:
commit
702110da7d
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -151,6 +151,16 @@ rogue:
|
||||||
${Q}mkdir -p release
|
${Q}mkdir -p release
|
||||||
$(MAKE) release/game.dll
|
$(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
|
build/%.o: %.c
|
||||||
@echo "===> CC $<"
|
@echo "===> CC $<"
|
||||||
${Q}mkdir -p $(@D)
|
${Q}mkdir -p $(@D)
|
||||||
|
|
Loading…
Reference in a new issue