aboutsummaryrefslogtreecommitdiffstats
path: root/WinQuake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'WinQuake/Makefile')
-rw-r--r--WinQuake/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/WinQuake/Makefile b/WinQuake/Makefile
index 1d91748..c9a6216 100644
--- a/WinQuake/Makefile
+++ b/WinQuake/Makefile
@@ -38,7 +38,7 @@ endif
NOARCH=noarch
# Edit this path, or you probably will run into trouble.
-MOUNT_DIR=/home/wyatt/development/Quake-LinuxUpdate/WinQuake
+MOUNT_DIR=/home/lk/Projects/Quake-LinuxUpdate/WinQuake
MASTER_DIR=/grog/Projects/QuakeMaster
MESA_DIR=/usr/local/src/Mesa-2.6
@@ -53,7 +53,7 @@ CC=$(EGCS)
# and this game still has some i386 (32-bit) assembly that I haven't replaced
# or otherwise added alternative, portable code for.
# Hopefully, I'll be able to run this game on PowerPC some day.
-BASE_CFLAGS=-Dstricmp=strcasecmp -m32 -fcommon -no-pie
+BASE_CFLAGS=-Dstricmp=strcasecmp -m32 -fcommon -no-pie -std=gnu90
# might have to change these, too, if you are on another architecture or
# cross-compiling (don't use 'native'):
RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mtune=native -O3 -march=native
@@ -61,12 +61,12 @@ RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mtune=native -O3 -march=native
DEBUG_CFLAGS=$(BASE_CFLAGS) -g
LDFLAGS=-lm -m32
SVGALDFLAGS=-lvga
-XLDFLAGS=-L/usr/X11R6/lib -L/usr/lib/i386-linux-gnu -lX11 -lXext /usr/lib/i386-linux-gnu/libXxf86dga.so.1.0.0
+XLDFLAGS=-L/usr/lib32 -L/usr/X11R6/lib -L/usr/lib/i386-linux-gnu -lX11 -lXext -lXxf86dga
XCFLAGS=-DX11
MESAGLLDFLAGS=-L/usr/lib/X11 -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
TDFXGLLDFLAGS=-L$(TDFXGL_DIR)/release$(ARCH)$(GLIBC) -l3dfxgl -lglide2x -ldl
-GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl /usr/lib/i386-linux-gnu/libXxf86dga.so.1.0.0 /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 -lm
+GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lm
GLCFLAGS=-DGLQUAKE -I$(MESA_DIR)/include -I/usr/include/glide
DO_CC=$(CC) $(CFLAGS) -o $@ -c $<