mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-01-18 06:22:30 +00:00
Change game library name in makefile to match recent change for x86_64 -> x64.
This commit is contained in:
parent
9be3063f0e
commit
e7eca9e3ff
1 changed files with 8 additions and 2 deletions
10
Makefile
10
Makefile
|
@ -99,6 +99,12 @@ ifeq ($(strip $(BUILD_LIBDIR)),YES)
|
||||||
BASE_CFLAGS+=-DLIBDIR='\"$(LIBDIR)\"'
|
BASE_CFLAGS+=-DLIBDIR='\"$(LIBDIR)\"'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH),x86_64)
|
||||||
|
LIBARCHNAME=x64
|
||||||
|
else
|
||||||
|
LIBARCHNAME=$(ARCH)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(OSTYPE),Darwin)
|
ifeq ($(OSTYPE),Darwin)
|
||||||
SHLIBEXT=dylib
|
SHLIBEXT=dylib
|
||||||
else
|
else
|
||||||
|
@ -133,7 +139,7 @@ ifeq ($(strip $(BUILD_KMQUAKE2_DEDICATED)),YES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(BUILD_GAME)),YES)
|
ifeq ($(strip $(BUILD_GAME)),YES)
|
||||||
TARGETS+=$(BINDIR)/baseq2/kmq2game$(ARCH).$(SHLIBEXT)
|
TARGETS+=$(BINDIR)/baseq2/kmq2game$(LIBARCHNAME).$(SHLIBEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
@ -860,7 +866,7 @@ GAME_OBJS = \
|
||||||
$(BUILDDIR)/game/p_weapon.o \
|
$(BUILDDIR)/game/p_weapon.o \
|
||||||
$(BUILDDIR)/game/q_shared.o
|
$(BUILDDIR)/game/q_shared.o
|
||||||
|
|
||||||
$(BINDIR)/baseq2/kmq2game$(ARCH).$(SHLIBEXT) : $(GAME_OBJS)
|
$(BINDIR)/baseq2/kmq2game$(LIBARCHNAME).$(SHLIBEXT) : $(GAME_OBJS)
|
||||||
$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(GAME_OBJS)
|
$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(GAME_OBJS)
|
||||||
|
|
||||||
$(BUILDDIR)/game/acebot_ai.o : $(GAME_DIR)/acebot_ai.c
|
$(BUILDDIR)/game/acebot_ai.o : $(GAME_DIR)/acebot_ai.c
|
||||||
|
|
Loading…
Reference in a new issue