diff --git a/qw_client/Makefile.in b/qw_client/Makefile.in index bc22ddb..dd1e350 100644 --- a/qw_client/Makefile.in +++ b/qw_client/Makefile.in @@ -260,7 +260,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_CFLAGS@ -SVGA_LDFLAGS = @SVGA_LIBS@ +SVGA_LDFLAGS = @SVGA_LIBS@ -lm SVGA_VID_SRC = vid_svgalib.c # This can be thought of as a macro that makes sure that the x11 @@ -361,7 +361,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_LIBS@ @TDFXGL_LIBS@ -ldl +TDFX_LDFLAGS = @SVGA_LIBS@ @TDFXGL_LIBS@ -lm TDFX_VID_SRC = gl_vidlinux_3dfx.c # This can be thought of as a macro that makes sure that the x11 diff --git a/uquake/Makefile.in b/uquake/Makefile.in index 4b0b5f5..299103e 100644 --- a/uquake/Makefile.in +++ b/uquake/Makefile.in @@ -243,7 +243,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_CFLAGS@ -SVGA_LDFLAGS = @SVGA_LIBS@ +SVGA_LDFLAGS = @SVGA_LIBS@ -lm SVGA_VID_SRC = vid_svgalib.c # This can be thought of as a macro that makes sure that the x11 @@ -331,8 +331,8 @@ endif ifneq ($(TDFXQUAKE),) OBJSquake-3dfx = $(patsubst %,$(BUILD_DIR)/3dfx/%,$(addsuffix .@OBJEXT@, $(basename $(ALL_TDFX_SRC) .c .s))) -TDFX_CFLAGS = -I/usr/include/glide -DGLQUAKE @OGL_CFLAGS@ @GLIDE_CFLAGS@ -TDFX_LDFLAGS = @SVGA_LIBS@ @TDFXGL_LIBS@ -ldl +TDFX_CFLAGS = -DGLQUAKE @OGL_CFLAGS@ @GLIDE_CFLAGS@ +TDFX_LDFLAGS = @SVGA_LIBS@ @TDFXGL_LIBS@ -lm TDFX_VID_SRC = gl_vidlinux_3dfx.c # This can be thought of as a macro that makes sure that the x11