mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix to x86_64 build
* Removal of a couple of unused variables
This commit is contained in:
parent
560b02488c
commit
981112669f
1 changed files with 8 additions and 12 deletions
|
@ -107,13 +107,11 @@ UDIR=$(MOUNT_DIR)/unix
|
||||||
W32DIR=$(MOUNT_DIR)/win32
|
W32DIR=$(MOUNT_DIR)/win32
|
||||||
GDIR=$(MOUNT_DIR)/game
|
GDIR=$(MOUNT_DIR)/game
|
||||||
CGDIR=$(MOUNT_DIR)/cgame
|
CGDIR=$(MOUNT_DIR)/cgame
|
||||||
BAIDIR=$(GDIR)
|
|
||||||
BLIBDIR=$(MOUNT_DIR)/botlib
|
BLIBDIR=$(MOUNT_DIR)/botlib
|
||||||
NDIR=$(MOUNT_DIR)/null
|
NDIR=$(MOUNT_DIR)/null
|
||||||
UIDIR=$(MOUNT_DIR)/ui
|
UIDIR=$(MOUNT_DIR)/ui
|
||||||
Q3UIDIR=$(MOUNT_DIR)/q3_ui
|
Q3UIDIR=$(MOUNT_DIR)/q3_ui
|
||||||
JPDIR=$(MOUNT_DIR)/jpeg-6
|
JPDIR=$(MOUNT_DIR)/jpeg-6
|
||||||
SPLNDIR=$(MOUNT_DIR)/splines
|
|
||||||
|
|
||||||
# extract version info
|
# extract version info
|
||||||
VERSION=$(shell grep Q3_VERSION ../qcommon/q_shared.h | \
|
VERSION=$(shell grep Q3_VERSION ../qcommon/q_shared.h | \
|
||||||
|
@ -827,19 +825,9 @@ Q3OBJ = \
|
||||||
|
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
Q3OBJ += $(B)/client/vm_x86.o
|
Q3OBJ += $(B)/client/vm_x86.o
|
||||||
Q3OBJ += \
|
|
||||||
$(B)/client/snd_mixa.o \
|
|
||||||
$(B)/client/matha.o \
|
|
||||||
$(B)/client/ftola.o \
|
|
||||||
$(B)/client/snapvectora.o
|
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),x86)
|
ifeq ($(ARCH),x86)
|
||||||
Q3OBJ += $(B)/client/vm_x86.o
|
Q3OBJ += $(B)/client/vm_x86.o
|
||||||
Q3OBJ += \
|
|
||||||
$(B)/client/snd_mixa.o \
|
|
||||||
$(B)/client/matha.o \
|
|
||||||
$(B)/client/ftola.o \
|
|
||||||
$(B)/client/snapvectora.o
|
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
Q3OBJ += $(B)/client/vm_x86_64.o
|
Q3OBJ += $(B)/client/vm_x86_64.o
|
||||||
|
@ -851,6 +839,14 @@ ifeq ($(ARCH),ppc)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# x86 asm versions of various functions
|
||||||
|
# Guarded by #if id386, so safe to link
|
||||||
|
# on any platform
|
||||||
|
Q3OBJ += \
|
||||||
|
$(B)/client/snd_mixa.o \
|
||||||
|
$(B)/client/matha.o \
|
||||||
|
$(B)/client/ftola.o \
|
||||||
|
$(B)/client/snapvectora.o
|
||||||
|
|
||||||
ifeq ($(PLATFORM),mingw32)
|
ifeq ($(PLATFORM),mingw32)
|
||||||
Q3OBJ += \
|
Q3OBJ += \
|
||||||
|
|
Loading…
Reference in a new issue