From 18446beeca7886c3f3bffb6a9675aadedd598dd6 Mon Sep 17 00:00:00 2001 From: Eric Windisch Date: Fri, 31 Dec 1999 04:18:13 +0000 Subject: [PATCH] Ok. now it compiles svgalib and 3dfx.. at least on my system :) --- qw_client/Makefile.in | 4 ++-- uquake/Makefile.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qw_client/Makefile.in b/qw_client/Makefile.in index d78814f..088eada 100644 --- a/qw_client/Makefile.in +++ b/qw_client/Makefile.in @@ -256,7 +256,7 @@ ALL_SVGA_SRC = $(GENERAL_SRC) $(SW_REND_SRC) $(SVGA_VID_SRC) model.c OBJSquake-svga= $(patsubst %,$(BUILD_DIR)/svga/%,$(addsuffix .@OBJEXT@, $(basename $(ALL_SVGA_SRC) .c .s))) SVGA_CFLAGS = -SVGA_LDFLAGS = -lvga +SVGA_LDFLAGS = -lvga -lm SVGA_VID_SRC = vid_svgalib.c # This can be thought of as a macro that makes sure that the x11 @@ -358,7 +358,7 @@ ifneq ($(TDFXQUAKE),) OBJSquake-3dfx = $(patsubst %,$(BUILD_DIR)/3dfx/%,$(addsuffix .@OBJEXT@, $(basename $(ALL_TDFX_SRC) .c .s))) TDFX_CFLAGS = -DGLQUAKE @OGL_CFLAGS@ @GLIDE_CFLAGS@ -TDFX_LDFLAGS = $(SVGA_LDFLAGS) @GLIDE_LDFLAGS@ @TDFXGL_LDFLAGS@ -ldl +TDFX_LDFLAGS = $(SVGA_LDFLAGS) @GLIDE_LDFLAGS@ @TDFXGL_LDFLAGS@ -ldl -lGL # XXX - this is for 3dfxgl TDFX_VID_SRC = gl_vidlinux.c diff --git a/uquake/Makefile.in b/uquake/Makefile.in index 3994fc2..0f11c84 100644 --- a/uquake/Makefile.in +++ b/uquake/Makefile.in @@ -239,7 +239,7 @@ ALL_SVGA_SRC = $(GENERAL_SRC) $(SW_REND_SRC) $(SVGA_VID_SRC) model.c OBJSquake-svga= $(patsubst %,$(BUILD_DIR)/svga/%,$(addsuffix .@OBJEXT@, $(basename $(ALL_SVGA_SRC) .c .s))) SVGA_CFLAGS = -SVGA_LDFLAGS = -lvga +SVGA_LDFLAGS = -lvga -lm SVGA_VID_SRC = vid_svgalib.c # This can be thought of as a macro that makes sure that the x11 @@ -329,7 +329,7 @@ ifneq ($(TDFXQUAKE),) OBJSquake-3dfx = $(patsubst %,$(BUILD_DIR)/3dfx/%,$(addsuffix .@OBJEXT@, $(basename $(ALL_TDFX_SRC) .c .s))) TDFX_CFLAGS = -DGLQUAKE @OGL_CFLAGS@ @GLIDE_CFLAGS@ -TDFX_LDFLAGS = $(SVGA_LDFLAGS) @GLIDE_LDFLAGS@ @TDFXGL_LDFLAGS@ -ldl +TDFX_LDFLAGS = $(SVGA_LDFLAGS) @GLIDE_LDFLAGS@ @TDFXGL_LDFLAGS@ -ldl -lGL # XXX - this is for 3dfxgl TDFX_VID_SRC = gl_vidlinux.c