1999-12-25 05:22:39 +00:00
|
|
|
#
|
|
|
|
# Quake Makefile for Linux 2.0
|
|
|
|
#
|
|
|
|
# Aug '98 by Zoid <zoid@idsoftware.com>
|
|
|
|
#
|
|
|
|
# ELF only
|
|
|
|
#
|
|
|
|
|
|
|
|
BASEVERSION=1.09
|
|
|
|
VERSION=$(BASEVERSION)$(GLIBC)
|
|
|
|
|
|
|
|
ifneq (,$(findstring libc6,$(shell if [ -e /lib/libc.so.6 ];then echo libc6;fi)))
|
|
|
|
GLIBC=-glibc
|
|
|
|
else
|
|
|
|
GLIBC=
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(findstring alpha,$(shell uname -m)))
|
|
|
|
ARCH=axp
|
|
|
|
else
|
|
|
|
ARCH=i386
|
|
|
|
endif
|
|
|
|
NOARCH=noarch
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
ROOT_DIR=$(shell pwd)
|
1999-12-25 05:22:39 +00:00
|
|
|
BUILD_DEBUG_DIR=debug-$(ARCH)$(GLIBC)
|
|
|
|
BUILD_RELEASE_DIR=release-$(ARCH)$(GLIBC)
|
|
|
|
|
|
|
|
X11_DIR=/usr/X11R6
|
|
|
|
GL_DIR=/usr/src/mesa-3.0
|
|
|
|
|
|
|
|
CC=gcc
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
PROJECT_DIR=..
|
|
|
|
|
|
|
|
COMMON_DIR=$(PROJECT_DIR)/common
|
|
|
|
POQ_DIR=$(PROJECT_DIR)/standalone
|
|
|
|
|
|
|
|
|
|
|
|
INCL=-I. -I$(COMMON_DIR) -I$(POQ_DIR)/include
|
|
|
|
|
|
|
|
BASE_CFLAGS=$(INCL) -Dstricmp=strcasecmp
|
1999-12-25 05:22:39 +00:00
|
|
|
DEBUG_CFLAGS=$(BASE_CFLAGS) -g
|
|
|
|
|
|
|
|
ifeq ($(ARCH),axp)
|
|
|
|
RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \
|
|
|
|
-fomit-frame-pointer -fexpensive-optimizations
|
|
|
|
else
|
|
|
|
RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
|
|
|
|
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
|
|
|
|
-malign-jumps=2 -malign-functions=2
|
|
|
|
endif
|
|
|
|
|
|
|
|
GL_CFLAGS=-DGLQUAKE -I$(X11_DIR)/include -I$(GL_DIR)/include -I/usr/include/glide
|
|
|
|
X11_CFLAGS=-DX11 -I$(X11_DIR)/include
|
|
|
|
|
|
|
|
LDFLAGS=-lm
|
|
|
|
SVGA_LDFLAGS=-lvga
|
|
|
|
X11_LDFLAGS=-L$(X11_DIR)/lib -lX11 -lXext -lXxf86dga
|
|
|
|
GL_LDFLAGS=-L$(X11_DIR)/lib -L$(MESA_DIR)/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lglide2x -lXxf86dga -lXxf86vm
|
1999-12-26 06:37:28 +00:00
|
|
|
GLIDE_LDFLAGS=-L$(X11_DIR)/lib -L$(MESA_DIR)/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lglide2x -lXxf86dga -lXxf86vm -lm -lvga
|
1999-12-25 05:22:39 +00:00
|
|
|
|
|
|
|
#GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
|
|
|
|
|
|
|
|
DO_CC=$(CC) $(CFLAGS) -o $@ -c $<
|
|
|
|
DO_DEBUG_CC=$(CC) $(DEBUG_CFLAGS) -o $@ -c $<
|
|
|
|
DO_GL_CC=$(CC) $(CFLAGS) $(GL_CFLAGS) -o $@ -c $<
|
|
|
|
DO_GL_DEBUG_CC=$(CC) $(DEBUG_CFLAGS) $(GL_CFLAGS) -o $@ -c $<
|
|
|
|
DO_X11_CC=$(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $<
|
|
|
|
DO_X11_DEBUG_CC=$(CC) $(DEBUG_CFLAGS) $(X11_CFLAGS) -o $@ -c $<
|
|
|
|
DO_O_CC=$(CC) -O $(CFLAGS) -o $@ -c $<
|
|
|
|
DO_AS=$(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $<
|
|
|
|
DO_GL_AS=$(CC) $(CFLAGS) $(GL_CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $<
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# SETUP AND BUILD
|
|
|
|
#############################################################################
|
|
|
|
|
1999-12-26 11:40:24 +00:00
|
|
|
#TARGETS=$(BUILDDIR)/bin/squake \
|
|
|
|
# $(BUILDDIR)/bin/xquake \
|
|
|
|
# $(BUILDDIR)/bin/glquake \
|
|
|
|
# $(BUILDDIR)/bin/glquake.3dfx
|
|
|
|
# # $(BUILDDIR)/bin/unixded
|
|
|
|
TARGETS=$(BUILDDIR)/bin/glquake.3dfx
|
1999-12-25 05:22:39 +00:00
|
|
|
|
|
|
|
build_debug:
|
|
|
|
@-mkdir $(BUILD_DEBUG_DIR) \
|
|
|
|
$(BUILD_DEBUG_DIR)/bin \
|
|
|
|
$(BUILD_DEBUG_DIR)/glquake \
|
|
|
|
$(BUILD_DEBUG_DIR)/glquake.3dfx \
|
|
|
|
$(BUILD_DEBUG_DIR)/squake \
|
|
|
|
$(BUILD_DEBUG_DIR)/unixded \
|
|
|
|
$(BUILD_DEBUG_DIR)/x11
|
|
|
|
$(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS)"
|
|
|
|
|
|
|
|
build_release:
|
|
|
|
@-mkdir $(BUILD_RELEASE_DIR) \
|
|
|
|
$(BUILD_RELEASE_DIR)/bin \
|
|
|
|
$(BUILD_RELEASE_DIR)/glquake \
|
|
|
|
$(BUILD_RELEASE_DIR)/glquake.3dfx \
|
|
|
|
$(BUILD_RELEASE_DIR)/squake \
|
|
|
|
$(BUILD_RELEASE_DIR)/unixded \
|
|
|
|
$(BUILD_RELEASE_DIR)/x11
|
|
|
|
$(MAKE) targets BUILDDIR=$(BUILD_RELEASE_DIR) CFLAGS="$(RELEASE_CFLAGS)"
|
|
|
|
|
|
|
|
all: build_debug build_release
|
|
|
|
|
|
|
|
targets: $(TARGETS)
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# SVGALIB Quake
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
SQUAKE_OBJS = \
|
|
|
|
$(BUILDDIR)/squake/cl_demo.o \
|
|
|
|
$(BUILDDIR)/squake/cl_input.o \
|
|
|
|
$(BUILDDIR)/squake/cl_main.o \
|
|
|
|
$(BUILDDIR)/squake/cl_parse.o \
|
|
|
|
$(BUILDDIR)/squake/cl_tent.o \
|
|
|
|
$(BUILDDIR)/squake/chase.o \
|
|
|
|
$(BUILDDIR)/squake/cmd.o \
|
|
|
|
$(BUILDDIR)/squake/common.o \
|
|
|
|
$(BUILDDIR)/squake/console.o \
|
|
|
|
$(BUILDDIR)/squake/crc.o \
|
|
|
|
$(BUILDDIR)/squake/cvar.o \
|
|
|
|
$(BUILDDIR)/squake/draw.o \
|
|
|
|
$(BUILDDIR)/squake/d_edge.o \
|
|
|
|
$(BUILDDIR)/squake/d_fill.o \
|
|
|
|
$(BUILDDIR)/squake/d_init.o \
|
|
|
|
$(BUILDDIR)/squake/d_modech.o \
|
|
|
|
$(BUILDDIR)/squake/d_part.o \
|
|
|
|
$(BUILDDIR)/squake/d_polyse.o \
|
|
|
|
$(BUILDDIR)/squake/d_scan.o \
|
|
|
|
$(BUILDDIR)/squake/d_sky.o \
|
|
|
|
$(BUILDDIR)/squake/d_sprite.o \
|
|
|
|
$(BUILDDIR)/squake/d_surf.o \
|
|
|
|
$(BUILDDIR)/squake/d_vars.o \
|
|
|
|
$(BUILDDIR)/squake/d_zpoint.o \
|
|
|
|
$(BUILDDIR)/squake/host.o \
|
|
|
|
$(BUILDDIR)/squake/host_cmd.o \
|
|
|
|
$(BUILDDIR)/squake/keys.o \
|
|
|
|
$(BUILDDIR)/squake/menu.o \
|
|
|
|
$(BUILDDIR)/squake/mathlib.o \
|
|
|
|
$(BUILDDIR)/squake/model.o \
|
|
|
|
$(BUILDDIR)/squake/net_dgrm.o \
|
|
|
|
$(BUILDDIR)/squake/net_loop.o \
|
|
|
|
$(BUILDDIR)/squake/net_main.o \
|
|
|
|
$(BUILDDIR)/squake/net_vcr.o \
|
|
|
|
$(BUILDDIR)/squake/net_udp.o \
|
|
|
|
$(BUILDDIR)/squake/net_bsd.o \
|
|
|
|
$(BUILDDIR)/squake/nonintel.o \
|
|
|
|
$(BUILDDIR)/squake/pr_cmds.o \
|
|
|
|
$(BUILDDIR)/squake/pr_edict.o \
|
|
|
|
$(BUILDDIR)/squake/pr_exec.o \
|
|
|
|
$(BUILDDIR)/squake/r_aclip.o \
|
|
|
|
$(BUILDDIR)/squake/r_alias.o \
|
|
|
|
$(BUILDDIR)/squake/r_bsp.o \
|
|
|
|
$(BUILDDIR)/squake/r_light.o \
|
|
|
|
$(BUILDDIR)/squake/r_draw.o \
|
|
|
|
$(BUILDDIR)/squake/r_efrag.o \
|
|
|
|
$(BUILDDIR)/squake/r_edge.o \
|
|
|
|
$(BUILDDIR)/squake/r_misc.o \
|
|
|
|
$(BUILDDIR)/squake/r_main.o \
|
|
|
|
$(BUILDDIR)/squake/r_sky.o \
|
|
|
|
$(BUILDDIR)/squake/r_sprite.o \
|
|
|
|
$(BUILDDIR)/squake/r_surf.o \
|
|
|
|
$(BUILDDIR)/squake/r_part.o \
|
|
|
|
$(BUILDDIR)/squake/r_vars.o \
|
|
|
|
$(BUILDDIR)/squake/screen.o \
|
|
|
|
$(BUILDDIR)/squake/sbar.o \
|
|
|
|
$(BUILDDIR)/squake/sv_main.o \
|
|
|
|
$(BUILDDIR)/squake/sv_phys.o \
|
|
|
|
$(BUILDDIR)/squake/sv_move.o \
|
|
|
|
$(BUILDDIR)/squake/sv_user.o \
|
|
|
|
$(BUILDDIR)/squake/zone.o \
|
|
|
|
$(BUILDDIR)/squake/view.o \
|
|
|
|
$(BUILDDIR)/squake/wad.o \
|
|
|
|
$(BUILDDIR)/squake/world.o \
|
|
|
|
$(BUILDDIR)/squake/cd_linux.o \
|
|
|
|
$(BUILDDIR)/squake/sys_linux.o \
|
|
|
|
$(BUILDDIR)/squake/vid_svgalib.o \
|
|
|
|
$(BUILDDIR)/squake/snd_dma.o \
|
|
|
|
$(BUILDDIR)/squake/snd_mem.o \
|
|
|
|
$(BUILDDIR)/squake/snd_mix.o \
|
|
|
|
$(BUILDDIR)/squake/snd_linux.o \
|
|
|
|
\
|
|
|
|
$(BUILDDIR)/squake/d_copy.o \
|
|
|
|
$(BUILDDIR)/squake/d_draw.o \
|
|
|
|
$(BUILDDIR)/squake/d_draw16.o \
|
|
|
|
$(BUILDDIR)/squake/d_parta.o \
|
|
|
|
$(BUILDDIR)/squake/d_polysa.o \
|
|
|
|
$(BUILDDIR)/squake/d_scana.o \
|
|
|
|
$(BUILDDIR)/squake/d_spr8.o \
|
|
|
|
$(BUILDDIR)/squake/d_varsa.o \
|
|
|
|
$(BUILDDIR)/squake/math.o \
|
|
|
|
$(BUILDDIR)/squake/r_aliasa.o \
|
|
|
|
$(BUILDDIR)/squake/r_drawa.o \
|
|
|
|
$(BUILDDIR)/squake/r_edgea.o \
|
|
|
|
$(BUILDDIR)/squake/r_varsa.o \
|
|
|
|
$(BUILDDIR)/squake/surf16.o \
|
|
|
|
$(BUILDDIR)/squake/surf8.o \
|
|
|
|
$(BUILDDIR)/squake/worlda.o \
|
|
|
|
$(BUILDDIR)/squake/r_aclipa.o \
|
|
|
|
$(BUILDDIR)/squake/snd_mixa.o \
|
|
|
|
$(BUILDDIR)/squake/sys_dosa.o
|
|
|
|
|
|
|
|
$(BUILDDIR)/bin/squake : $(SQUAKE_OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(SQUAKE_OBJS) $(SVGA_LDFLAGS) $(LDFLAGS)
|
|
|
|
|
|
|
|
####
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cl_demo.o : $(PROJECT_DIR)/standalone/cl_demo.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cl_input.o : $(PROJECT_DIR)/standalone/cl_input.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cl_main.o : $(PROJECT_DIR)/standalone/cl_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cl_parse.o : $(PROJECT_DIR)/standalone/cl_parse.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cl_tent.o : $(PROJECT_DIR)/standalone/cl_tent.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/chase.o : $(PROJECT_DIR)/standalone/chase.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cmd.o : $(PROJECT_DIR)/standalone/cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/common.o : $(PROJECT_DIR)/standalone/common.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_DEBUG_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/console.o : $(PROJECT_DIR)/standalone/console.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/crc.o : $(PROJECT_DIR)/standalone/crc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cvar.o : $(PROJECT_DIR)/standalone/cvar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/draw.o : $(PROJECT_DIR)/standalone/draw.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_edge.o : $(PROJECT_DIR)/standalone/d_edge.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_fill.o : $(PROJECT_DIR)/standalone/d_fill.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_init.o : $(PROJECT_DIR)/standalone/d_init.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_modech.o : $(PROJECT_DIR)/standalone/d_modech.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_part.o : $(PROJECT_DIR)/standalone/d_part.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_polyse.o : $(PROJECT_DIR)/standalone/d_polyse.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_scan.o : $(PROJECT_DIR)/standalone/d_scan.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_sky.o : $(PROJECT_DIR)/standalone/d_sky.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_sprite.o : $(PROJECT_DIR)/standalone/d_sprite.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_surf.o : $(PROJECT_DIR)/standalone/d_surf.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_vars.o : $(PROJECT_DIR)/standalone/d_vars.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_zpoint.o : $(PROJECT_DIR)/standalone/d_zpoint.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/host.o : $(PROJECT_DIR)/standalone/host.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/host_cmd.o : $(PROJECT_DIR)/standalone/host_cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/keys.o : $(PROJECT_DIR)/standalone/keys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/menu.o : $(PROJECT_DIR)/standalone/menu.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/mathlib.o : $(PROJECT_DIR)/common/mathlib.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/model.o : $(PROJECT_DIR)/standalone/model.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_dgrm.o : $(PROJECT_DIR)/standalone/net_dgrm.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_loop.o : $(PROJECT_DIR)/standalone/net_loop.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_main.o : $(PROJECT_DIR)/standalone/net_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_vcr.o : $(PROJECT_DIR)/standalone/net_vcr.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_udp.o : $(PROJECT_DIR)/standalone/net_udp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/net_bsd.o : $(PROJECT_DIR)/standalone/net_bsd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/nonintel.o : $(PROJECT_DIR)/standalone/nonintel.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/pr_cmds.o : $(PROJECT_DIR)/standalone/pr_cmds.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/pr_edict.o : $(PROJECT_DIR)/standalone/pr_edict.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/pr_exec.o : $(PROJECT_DIR)/standalone/pr_exec.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_aclip.o : $(PROJECT_DIR)/standalone/r_aclip.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_alias.o : $(PROJECT_DIR)/standalone/r_alias.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_bsp.o : $(PROJECT_DIR)/standalone/r_bsp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_light.o : $(PROJECT_DIR)/standalone/r_light.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_draw.o : $(PROJECT_DIR)/standalone/r_draw.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_efrag.o : $(PROJECT_DIR)/standalone/r_efrag.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_edge.o : $(PROJECT_DIR)/standalone/r_edge.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_misc.o : $(PROJECT_DIR)/standalone/r_misc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_main.o : $(PROJECT_DIR)/standalone/r_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_sky.o : $(PROJECT_DIR)/standalone/r_sky.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_sprite.o : $(PROJECT_DIR)/standalone/r_sprite.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_surf.o : $(PROJECT_DIR)/standalone/r_surf.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_part.o : $(PROJECT_DIR)/standalone/r_part.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_vars.o : $(PROJECT_DIR)/standalone/r_vars.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/screen.o : $(PROJECT_DIR)/standalone/screen.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sbar.o : $(PROJECT_DIR)/standalone/sbar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sv_main.o : $(PROJECT_DIR)/standalone/sv_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sv_phys.o : $(PROJECT_DIR)/standalone/sv_phys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sv_move.o : $(PROJECT_DIR)/standalone/sv_move.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sv_user.o : $(PROJECT_DIR)/standalone/sv_user.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/zone.o : $(PROJECT_DIR)/common/zone.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/view.o : $(PROJECT_DIR)/standalone/view.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/wad.o : $(PROJECT_DIR)/common/wad.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/world.o : $(PROJECT_DIR)/standalone/world.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/cd_linux.o : $(PROJECT_DIR)/common/cd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sys_linux.o :$(PROJECT_DIR)/standalone/sys_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/vid_svgalib.o:$(PROJECT_DIR)/common/vid_svgalib.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_O_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/snd_dma.o : $(PROJECT_DIR)/common/snd_dma.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/snd_mem.o : $(PROJECT_DIR)/common/snd_mem.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/snd_mix.o : $(PROJECT_DIR)/common/snd_mix.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/snd_linux.o :$(PROJECT_DIR)/common/snd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_CC)
|
|
|
|
|
|
|
|
#####
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_copy.o : $(PROJECT_DIR)/standalone/d_copy.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_draw.o : $(PROJECT_DIR)/standalone/d_draw.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_draw16.o : $(PROJECT_DIR)/standalone/d_draw16.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_parta.o : $(PROJECT_DIR)/standalone/d_parta.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_polysa.o : $(PROJECT_DIR)/standalone/d_polysa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_scana.o : $(PROJECT_DIR)/standalone/d_scana.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_spr8.o : $(PROJECT_DIR)/standalone/d_spr8.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/d_varsa.o : $(PROJECT_DIR)/standalone/d_varsa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/math.o : $(PROJECT_DIR)/common/math.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_aliasa.o : $(PROJECT_DIR)/standalone/r_aliasa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_drawa.o : $(PROJECT_DIR)/standalone/r_drawa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_edgea.o : $(PROJECT_DIR)/standalone/r_edgea.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_varsa.o : $(PROJECT_DIR)/standalone/r_varsa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/surf16.o : $(PROJECT_DIR)/standalone/surf16.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/surf8.o : $(PROJECT_DIR)/standalone/surf8.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/worlda.o : $(PROJECT_DIR)/standalone/worlda.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/r_aclipa.o : $(PROJECT_DIR)/standalone/r_aclipa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/snd_mixa.o : $(PROJECT_DIR)/common/snd_mixa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/squake/sys_dosa.o : $(PROJECT_DIR)/standalone/sys_dosa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# X11 Quake
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
X11_OBJS = \
|
|
|
|
$(BUILDDIR)/x11/cl_demo.o \
|
|
|
|
$(BUILDDIR)/x11/cl_input.o \
|
|
|
|
$(BUILDDIR)/x11/cl_main.o \
|
|
|
|
$(BUILDDIR)/x11/cl_parse.o \
|
|
|
|
$(BUILDDIR)/x11/cl_tent.o \
|
|
|
|
$(BUILDDIR)/x11/chase.o \
|
|
|
|
$(BUILDDIR)/x11/cmd.o \
|
|
|
|
$(BUILDDIR)/x11/common.o \
|
|
|
|
$(BUILDDIR)/x11/console.o \
|
|
|
|
$(BUILDDIR)/x11/crc.o \
|
|
|
|
$(BUILDDIR)/x11/cvar.o \
|
|
|
|
$(BUILDDIR)/x11/draw.o \
|
|
|
|
$(BUILDDIR)/x11/d_edge.o \
|
|
|
|
$(BUILDDIR)/x11/d_fill.o \
|
|
|
|
$(BUILDDIR)/x11/d_init.o \
|
|
|
|
$(BUILDDIR)/x11/d_modech.o \
|
|
|
|
$(BUILDDIR)/x11/d_part.o \
|
|
|
|
$(BUILDDIR)/x11/d_polyse.o \
|
|
|
|
$(BUILDDIR)/x11/d_scan.o \
|
|
|
|
$(BUILDDIR)/x11/d_sky.o \
|
|
|
|
$(BUILDDIR)/x11/d_sprite.o \
|
|
|
|
$(BUILDDIR)/x11/d_surf.o \
|
|
|
|
$(BUILDDIR)/x11/d_vars.o \
|
|
|
|
$(BUILDDIR)/x11/d_zpoint.o \
|
|
|
|
$(BUILDDIR)/x11/host.o \
|
|
|
|
$(BUILDDIR)/x11/host_cmd.o \
|
|
|
|
$(BUILDDIR)/x11/keys.o \
|
|
|
|
$(BUILDDIR)/x11/menu.o \
|
|
|
|
$(BUILDDIR)/x11/mathlib.o \
|
|
|
|
$(BUILDDIR)/x11/model.o \
|
|
|
|
$(BUILDDIR)/x11/net_dgrm.o \
|
|
|
|
$(BUILDDIR)/x11/net_loop.o \
|
|
|
|
$(BUILDDIR)/x11/net_main.o \
|
|
|
|
$(BUILDDIR)/x11/net_vcr.o \
|
|
|
|
$(BUILDDIR)/x11/net_udp.o \
|
|
|
|
$(BUILDDIR)/x11/net_bsd.o \
|
|
|
|
$(BUILDDIR)/x11/nonintel.o \
|
|
|
|
$(BUILDDIR)/x11/pr_cmds.o \
|
|
|
|
$(BUILDDIR)/x11/pr_edict.o \
|
|
|
|
$(BUILDDIR)/x11/pr_exec.o \
|
|
|
|
$(BUILDDIR)/x11/r_aclip.o \
|
|
|
|
$(BUILDDIR)/x11/r_alias.o \
|
|
|
|
$(BUILDDIR)/x11/r_bsp.o \
|
|
|
|
$(BUILDDIR)/x11/r_light.o \
|
|
|
|
$(BUILDDIR)/x11/r_draw.o \
|
|
|
|
$(BUILDDIR)/x11/r_efrag.o \
|
|
|
|
$(BUILDDIR)/x11/r_edge.o \
|
|
|
|
$(BUILDDIR)/x11/r_misc.o \
|
|
|
|
$(BUILDDIR)/x11/r_main.o \
|
|
|
|
$(BUILDDIR)/x11/r_sky.o \
|
|
|
|
$(BUILDDIR)/x11/r_sprite.o \
|
|
|
|
$(BUILDDIR)/x11/r_surf.o \
|
|
|
|
$(BUILDDIR)/x11/r_part.o \
|
|
|
|
$(BUILDDIR)/x11/r_vars.o \
|
|
|
|
$(BUILDDIR)/x11/screen.o \
|
|
|
|
$(BUILDDIR)/x11/sbar.o \
|
|
|
|
$(BUILDDIR)/x11/sv_main.o \
|
|
|
|
$(BUILDDIR)/x11/sv_phys.o \
|
|
|
|
$(BUILDDIR)/x11/sv_move.o \
|
|
|
|
$(BUILDDIR)/x11/sv_user.o \
|
|
|
|
$(BUILDDIR)/x11/zone.o \
|
|
|
|
$(BUILDDIR)/x11/view.o \
|
|
|
|
$(BUILDDIR)/x11/wad.o \
|
|
|
|
$(BUILDDIR)/x11/world.o \
|
|
|
|
$(BUILDDIR)/x11/cd_linux.o \
|
|
|
|
$(BUILDDIR)/x11/sys_linux.o \
|
|
|
|
$(BUILDDIR)/x11/vid_x.o \
|
|
|
|
$(BUILDDIR)/x11/snd_dma.o \
|
|
|
|
$(BUILDDIR)/x11/snd_mem.o \
|
|
|
|
$(BUILDDIR)/x11/snd_mix.o \
|
|
|
|
$(BUILDDIR)/x11/snd_linux.o \
|
|
|
|
\
|
|
|
|
$(BUILDDIR)/x11/d_draw.o \
|
|
|
|
$(BUILDDIR)/x11/d_draw16.o \
|
|
|
|
$(BUILDDIR)/x11/d_parta.o \
|
|
|
|
$(BUILDDIR)/x11/d_polysa.o \
|
|
|
|
$(BUILDDIR)/x11/d_scana.o \
|
|
|
|
$(BUILDDIR)/x11/d_spr8.o \
|
|
|
|
$(BUILDDIR)/x11/d_varsa.o \
|
|
|
|
$(BUILDDIR)/x11/math.o \
|
|
|
|
$(BUILDDIR)/x11/r_aliasa.o \
|
|
|
|
$(BUILDDIR)/x11/r_drawa.o \
|
|
|
|
$(BUILDDIR)/x11/r_edgea.o \
|
|
|
|
$(BUILDDIR)/x11/r_varsa.o \
|
|
|
|
$(BUILDDIR)/x11/surf16.o \
|
|
|
|
$(BUILDDIR)/x11/surf8.o \
|
|
|
|
$(BUILDDIR)/x11/worlda.o \
|
|
|
|
$(BUILDDIR)/x11/r_aclipa.o \
|
|
|
|
$(BUILDDIR)/x11/snd_mixa.o \
|
|
|
|
$(BUILDDIR)/x11/sys_dosa.o
|
|
|
|
|
|
|
|
$(BUILDDIR)/bin/xquake : $(X11_OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(X11_OBJS) $(X11_LDFLAGS) $(LDFLAGS)
|
|
|
|
|
|
|
|
####
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cl_demo.o : $(PROJECT_DIR)/standalone/cl_demo.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cl_input.o : $(PROJECT_DIR)/standalone/cl_input.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cl_main.o : $(PROJECT_DIR)/standalone/cl_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cl_parse.o : $(PROJECT_DIR)/standalone/cl_parse.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cl_tent.o : $(PROJECT_DIR)/standalone/cl_tent.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/chase.o : $(PROJECT_DIR)/standalone/chase.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cmd.o : $(PROJECT_DIR)/standalone/cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/common.o : $(PROJECT_DIR)/standalone/common.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_DEBUG_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/console.o : $(PROJECT_DIR)/standalone/console.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/crc.o : $(PROJECT_DIR)/standalone/crc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cvar.o : $(PROJECT_DIR)/standalone/cvar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/draw.o : $(PROJECT_DIR)/standalone/draw.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_edge.o : $(PROJECT_DIR)/standalone/d_edge.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_fill.o : $(PROJECT_DIR)/standalone/d_fill.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_init.o : $(PROJECT_DIR)/standalone/d_init.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_modech.o : $(PROJECT_DIR)/standalone/d_modech.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_part.o : $(PROJECT_DIR)/standalone/d_part.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_polyse.o : $(PROJECT_DIR)/standalone/d_polyse.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_scan.o : $(PROJECT_DIR)/standalone/d_scan.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_sky.o : $(PROJECT_DIR)/standalone/d_sky.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_sprite.o : $(PROJECT_DIR)/standalone/d_sprite.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_surf.o : $(PROJECT_DIR)/standalone/d_surf.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_vars.o : $(PROJECT_DIR)/standalone/d_vars.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_zpoint.o : $(PROJECT_DIR)/standalone/d_zpoint.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/host.o : $(PROJECT_DIR)/standalone/host.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/host_cmd.o : $(PROJECT_DIR)/standalone/host_cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/keys.o : $(PROJECT_DIR)/standalone/keys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/menu.o : $(PROJECT_DIR)/standalone/menu.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/mathlib.o : $(PROJECT_DIR)/common/mathlib.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/model.o : $(PROJECT_DIR)/standalone/model.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_dgrm.o : $(PROJECT_DIR)/standalone/net_dgrm.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_loop.o : $(PROJECT_DIR)/standalone/net_loop.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_main.o : $(PROJECT_DIR)/standalone/net_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_vcr.o : $(PROJECT_DIR)/standalone/net_vcr.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_udp.o : $(PROJECT_DIR)/standalone/net_udp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/net_bsd.o : $(PROJECT_DIR)/standalone/net_bsd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/nonintel.o : $(PROJECT_DIR)/standalone/nonintel.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/pr_cmds.o : $(PROJECT_DIR)/standalone/pr_cmds.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/pr_edict.o : $(PROJECT_DIR)/standalone/pr_edict.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/pr_exec.o : $(PROJECT_DIR)/standalone/pr_exec.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_aclip.o : $(PROJECT_DIR)/standalone/r_aclip.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_alias.o : $(PROJECT_DIR)/standalone/r_alias.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_bsp.o : $(PROJECT_DIR)/standalone/r_bsp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_light.o : $(PROJECT_DIR)/standalone/r_light.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_draw.o : $(PROJECT_DIR)/standalone/r_draw.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_efrag.o : $(PROJECT_DIR)/standalone/r_efrag.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_edge.o : $(PROJECT_DIR)/standalone/r_edge.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_misc.o : $(PROJECT_DIR)/standalone/r_misc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_main.o : $(PROJECT_DIR)/standalone/r_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_sky.o : $(PROJECT_DIR)/standalone/r_sky.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_sprite.o : $(PROJECT_DIR)/standalone/r_sprite.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_surf.o : $(PROJECT_DIR)/standalone/r_surf.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_part.o : $(PROJECT_DIR)/standalone/r_part.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_vars.o : $(PROJECT_DIR)/standalone/r_vars.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/screen.o : $(PROJECT_DIR)/standalone/screen.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sbar.o : $(PROJECT_DIR)/standalone/sbar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sv_main.o : $(PROJECT_DIR)/standalone/sv_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sv_phys.o : $(PROJECT_DIR)/standalone/sv_phys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sv_move.o : $(PROJECT_DIR)/standalone/sv_move.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sv_user.o : $(PROJECT_DIR)/standalone/sv_user.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/zone.o : $(PROJECT_DIR)/common/zone.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/view.o : $(PROJECT_DIR)/standalone/view.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/wad.o : $(PROJECT_DIR)/common/wad.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/world.o : $(PROJECT_DIR)/standalone/world.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/cd_linux.o : $(PROJECT_DIR)/common/cd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sys_linux.o :$(PROJECT_DIR)/standalone/sys_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/vid_x.o: $(PROJECT_DIR)/common/vid_x.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_O_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/snd_dma.o : $(PROJECT_DIR)/common/snd_dma.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/snd_mem.o : $(PROJECT_DIR)/common/snd_mem.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/snd_mix.o : $(PROJECT_DIR)/common/snd_mix.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/snd_linux.o :$(PROJECT_DIR)/common/snd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_X11_CC)
|
|
|
|
|
|
|
|
#####
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_copy.o : $(PROJECT_DIR)/standalone/d_copy.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_draw.o : $(PROJECT_DIR)/standalone/d_draw.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_draw16.o : $(PROJECT_DIR)/standalone/d_draw16.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_parta.o : $(PROJECT_DIR)/standalone/d_parta.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_polysa.o : $(PROJECT_DIR)/standalone/d_polysa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_scana.o : $(PROJECT_DIR)/standalone/d_scana.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_spr8.o : $(PROJECT_DIR)/standalone/d_spr8.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/d_varsa.o : $(PROJECT_DIR)/standalone/d_varsa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/math.o : $(PROJECT_DIR)/common/math.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_aliasa.o : $(PROJECT_DIR)/standalone/r_aliasa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_drawa.o : $(PROJECT_DIR)/standalone/r_drawa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_edgea.o : $(PROJECT_DIR)/standalone/r_edgea.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_varsa.o : $(PROJECT_DIR)/standalone/r_varsa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/surf16.o : $(PROJECT_DIR)/standalone/surf16.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/surf8.o : $(PROJECT_DIR)/standalone/surf8.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/worlda.o : $(PROJECT_DIR)/standalone/worlda.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/r_aclipa.o : $(PROJECT_DIR)/standalone/r_aclipa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/snd_mixa.o : $(PROJECT_DIR)/common/snd_mixa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/x11/sys_dosa.o : $(PROJECT_DIR)/standalone/sys_dosa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_AS)
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# GLQuake
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
GLQUAKE_OBJS= \
|
|
|
|
$(BUILDDIR)/glquake/cl_demo.o \
|
|
|
|
$(BUILDDIR)/glquake/cl_input.o \
|
|
|
|
$(BUILDDIR)/glquake/cl_main.o \
|
|
|
|
$(BUILDDIR)/glquake/cl_parse.o \
|
|
|
|
$(BUILDDIR)/glquake/cl_tent.o \
|
|
|
|
$(BUILDDIR)/glquake/chase.o \
|
|
|
|
$(BUILDDIR)/glquake/cmd.o \
|
|
|
|
$(BUILDDIR)/glquake/common.o \
|
|
|
|
$(BUILDDIR)/glquake/console.o \
|
|
|
|
$(BUILDDIR)/glquake/crc.o \
|
|
|
|
$(BUILDDIR)/glquake/cvar.o \
|
|
|
|
\
|
|
|
|
$(BUILDDIR)/glquake/gl_draw.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_mesh.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_model.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_refrag.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_rlight.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_rmain.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_rmisc.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_rsurf.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_screen.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_test.o \
|
|
|
|
$(BUILDDIR)/glquake/gl_warp.o \
|
|
|
|
\
|
|
|
|
$(BUILDDIR)/glquake/host.o \
|
|
|
|
$(BUILDDIR)/glquake/host_cmd.o \
|
|
|
|
$(BUILDDIR)/glquake/keys.o \
|
|
|
|
$(BUILDDIR)/glquake/menu.o \
|
|
|
|
$(BUILDDIR)/glquake/mathlib.o \
|
|
|
|
$(BUILDDIR)/glquake/net_dgrm.o \
|
|
|
|
$(BUILDDIR)/glquake/net_loop.o \
|
|
|
|
$(BUILDDIR)/glquake/net_main.o \
|
|
|
|
$(BUILDDIR)/glquake/net_vcr.o \
|
|
|
|
$(BUILDDIR)/glquake/net_udp.o \
|
|
|
|
$(BUILDDIR)/glquake/net_bsd.o \
|
|
|
|
$(BUILDDIR)/glquake/pr_cmds.o \
|
|
|
|
$(BUILDDIR)/glquake/pr_edict.o \
|
|
|
|
$(BUILDDIR)/glquake/pr_exec.o \
|
|
|
|
$(BUILDDIR)/glquake/r_part.o \
|
|
|
|
$(BUILDDIR)/glquake/sbar.o \
|
|
|
|
$(BUILDDIR)/glquake/sv_main.o \
|
|
|
|
$(BUILDDIR)/glquake/sv_phys.o \
|
|
|
|
$(BUILDDIR)/glquake/sv_move.o \
|
|
|
|
$(BUILDDIR)/glquake/sv_user.o \
|
|
|
|
$(BUILDDIR)/glquake/zone.o \
|
|
|
|
$(BUILDDIR)/glquake/view.o \
|
|
|
|
$(BUILDDIR)/glquake/wad.o \
|
|
|
|
$(BUILDDIR)/glquake/world.o \
|
|
|
|
$(BUILDDIR)/glquake/cd_linux.o \
|
|
|
|
$(BUILDDIR)/glquake/sys_linux.o \
|
|
|
|
$(BUILDDIR)/glquake/snd_dma.o \
|
|
|
|
$(BUILDDIR)/glquake/snd_mem.o \
|
|
|
|
$(BUILDDIR)/glquake/snd_mix.o \
|
|
|
|
$(BUILDDIR)/glquake/snd_linux.o \
|
|
|
|
\
|
|
|
|
$(BUILDDIR)/glquake/math.o \
|
|
|
|
$(BUILDDIR)/glquake/worlda.o \
|
|
|
|
$(BUILDDIR)/glquake/snd_mixa.o \
|
|
|
|
$(BUILDDIR)/glquake/sys_dosa.o
|
|
|
|
|
|
|
|
GLSVGA_OBJS=$(BUILDDIR)/glquake/gl_vidlinux.o
|
|
|
|
|
|
|
|
GLX_OBJS=$(BUILDDIR)/glquake/gl_vidlinuxglx.o
|
|
|
|
|
|
|
|
$(BUILDDIR)/bin/glquake : $(GLQUAKE_OBJS) $(GLX_OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(GLQUAKE_OBJS) $(GLX_OBJS) $(GL_LDFLAGS) $(SVGA_LDFLAGS) $(LDFLAGS)
|
|
|
|
|
|
|
|
$(BUILDDIR)/bin/glquake.3dfx : $(GLQUAKE_OBJS) $(GLSVGA_OBJS)
|
1999-12-26 06:37:28 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(GLQUAKE_OBJS) $(GLSVGA_OBJS) $(GLIDE_LDFLAGS) $(LDFLAGS)
|
1999-12-25 05:22:39 +00:00
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cl_demo.o : $(PROJECT_DIR)/standalone/cl_demo.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cl_input.o : $(PROJECT_DIR)/standalone/cl_input.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cl_main.o : $(PROJECT_DIR)/standalone/cl_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cl_parse.o : $(PROJECT_DIR)/standalone/cl_parse.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cl_tent.o : $(PROJECT_DIR)/standalone/cl_tent.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/chase.o : $(PROJECT_DIR)/standalone/chase.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cmd.o : $(PROJECT_DIR)/standalone/cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/common.o : $(PROJECT_DIR)/standalone/common.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_DEBUG_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/console.o : $(PROJECT_DIR)/standalone/console.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/crc.o : $(PROJECT_DIR)/standalone/crc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cvar.o : $(PROJECT_DIR)/standalone/cvar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_draw.o : $(PROJECT_DIR)/standalone/gl_draw.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_mesh.o : $(PROJECT_DIR)/standalone/gl_mesh.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_model.o : $(PROJECT_DIR)/standalone/gl_model.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_refrag.o : $(PROJECT_DIR)/standalone/gl_refrag.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_rlight.o : $(PROJECT_DIR)/standalone/gl_rlight.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_rmain.o : $(PROJECT_DIR)/standalone/gl_rmain.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_rmisc.o : $(PROJECT_DIR)/standalone/gl_rmisc.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_rsurf.o : $(PROJECT_DIR)/standalone/gl_rsurf.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_screen.o : $(PROJECT_DIR)/standalone/gl_screen.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_test.o : $(PROJECT_DIR)/standalone/gl_test.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_vidlinux.o : $(PROJECT_DIR)/standalone/gl_vidlinux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_vidlinuxglx.o : $(PROJECT_DIR)/common/gl_vidlinuxglx.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/gl_warp.o : $(PROJECT_DIR)/standalone/gl_warp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/host.o : $(PROJECT_DIR)/standalone/host.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/host_cmd.o : $(PROJECT_DIR)/standalone/host_cmd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/keys.o : $(PROJECT_DIR)/standalone/keys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/menu.o : $(PROJECT_DIR)/standalone/menu.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/mathlib.o : $(PROJECT_DIR)/common/mathlib.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_dgrm.o : $(PROJECT_DIR)/standalone/net_dgrm.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_loop.o : $(PROJECT_DIR)/standalone/net_loop.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_main.o : $(PROJECT_DIR)/standalone/net_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_vcr.o : $(PROJECT_DIR)/standalone/net_vcr.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_udp.o : $(PROJECT_DIR)/standalone/net_udp.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/net_bsd.o : $(PROJECT_DIR)/standalone/net_bsd.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/pr_cmds.o : $(PROJECT_DIR)/standalone/pr_cmds.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/pr_edict.o : $(PROJECT_DIR)/standalone/pr_edict.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/pr_exec.o : $(PROJECT_DIR)/standalone/pr_exec.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/r_part.o : $(PROJECT_DIR)/standalone/r_part.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sbar.o : $(PROJECT_DIR)/standalone/sbar.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sv_main.o : $(PROJECT_DIR)/standalone/sv_main.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sv_phys.o : $(PROJECT_DIR)/standalone/sv_phys.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sv_move.o : $(PROJECT_DIR)/standalone/sv_move.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sv_user.o : $(PROJECT_DIR)/standalone/sv_user.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/zone.o : $(PROJECT_DIR)/common/zone.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/view.o : $(PROJECT_DIR)/standalone/view.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/wad.o : $(PROJECT_DIR)/common/wad.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/world.o : $(PROJECT_DIR)/standalone/world.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/cd_linux.o : $(PROJECT_DIR)/common/cd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sys_linux.o : $(PROJECT_DIR)/standalone/sys_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/snd_dma.o : $(PROJECT_DIR)/common/snd_dma.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/snd_mem.o : $(PROJECT_DIR)/common/snd_mem.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/snd_mix.o : $(PROJECT_DIR)/common/snd_mix.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/snd_linux.o : $(PROJECT_DIR)/common/snd_linux.c
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_CC)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/math.o : $(PROJECT_DIR)/common/math.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/worlda.o : $(PROJECT_DIR)/standalone/worlda.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/snd_mixa.o : $(PROJECT_DIR)/common/snd_mixa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_AS)
|
|
|
|
|
1999-12-26 06:37:28 +00:00
|
|
|
$(BUILDDIR)/glquake/sys_dosa.o : $(PROJECT_DIR)/standalone/sys_dosa.s
|
1999-12-25 05:22:39 +00:00
|
|
|
$(DO_GL_AS)
|
|
|
|
|
|
|
|
#############################################################################
|
|
|
|
# MISC
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
clean: clean-debug clean-release
|
|
|
|
rm -f squake.spec glquake.spec quake.x11.spec
|
|
|
|
|
|
|
|
clean-debug:
|
|
|
|
$(MAKE) clean2 BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS)"
|
|
|
|
|
|
|
|
clean-release:
|
|
|
|
$(MAKE) clean2 BUILDDIR=$(BUILD_RELEASE_DIR) CFLAGS="$(DEBUG_CFLAGS)"
|
|
|
|
|
|
|
|
clean2:
|
|
|
|
-rm -f $(SQUAKE_OBJS) $(X11_OBJS) $(GLQUAKE_OBJS) $(GLSVGA_OBJS) \
|
|
|
|
$(GLX_OBJS)
|