mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
Add make game.dylib for Darwin
This commit is contained in:
parent
1d6e3f6eab
commit
cec4adf2e4
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -151,6 +151,16 @@ xatrix:
|
||||||
${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 $@ $<
|
||||||
|
else ifeq ($(OSTYPE), Darwin)
|
||||||
|
xatrix:
|
||||||
|
@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