Generate game.dylib on OS X. Fixes #148.

This commit is contained in:
Yamagi Burmeister 2016-08-14 16:29:06 +02:00
parent d7c1d9d7fc
commit b7b8bec0fd

View file

@ -227,6 +227,10 @@ ifeq ($(OSTYPE), Windows)
release/game.dll : $(ROGUE_OBJS) release/game.dll : $(ROGUE_OBJS)
@echo "===> LD $@" @echo "===> LD $@"
${Q}$(CC) $(LDFLAGS) -o $@ $(ROGUE_OBJS) ${Q}$(CC) $(LDFLAGS) -o $@ $(ROGUE_OBJS)
else ifeq ($(OSTYPE), Darwin)
release/game.dylib : $(ROGUE_OBJS)
@echo "===> LD $@"
${Q}$(CC) $(LDFLAGS) -o $@ $(ROGUE_OBJS)
else else
release/game.so : $(ROGUE_OBJS) release/game.so : $(ROGUE_OBJS)
@echo "===> LD $@" @echo "===> LD $@"