mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-17 01:01:17 +00:00
Made building outside the source dir possible again.
This commit is contained in:
parent
1969220a36
commit
8b4503ff05
1 changed files with 13 additions and 11 deletions
|
@ -3,19 +3,21 @@
|
||||||
# Quake general stuff
|
# Quake general stuff
|
||||||
#
|
#
|
||||||
|
|
||||||
PROJECT_DIR = @top_srcdir@
|
PROJECT_DIR = @top_srcdir@
|
||||||
SRC_DIR = @srcdir@
|
PROJECT_ODIR = ..
|
||||||
QW_COMMON_DIR= $(PROJECT_DIR)/qw_common
|
SRC_DIR = @srcdir@
|
||||||
COMMON_DIR = $(PROJECT_DIR)/common
|
QW_COMMON_DIR = $(PROJECT_DIR)/qw_common
|
||||||
BIN_PREFIX = qw-client
|
COMMON_DIR = $(PROJECT_DIR)/common
|
||||||
|
COMMON_ODIR = $(PROJECT_ODIR)/common
|
||||||
|
BIN_PREFIX = qw-client
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
|
|
||||||
BUILD_DIR = ../targets/qw_client
|
BUILD_DIR = $(PROJECT_ODIR)/targets/qw_client
|
||||||
|
|
||||||
LDFLAGS = @LDFLAGS@ @SND_LIBS@ -lm
|
LDFLAGS = @LDFLAGS@ @SND_LIBS@ -lm
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
|
@ -209,7 +211,7 @@ CL_COMMON_SRC = $(MISC_SRC) $(CL_GUI_SRC) $(CL_SRC) \
|
||||||
#
|
#
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
CFLAGS = @CFLAGS@ -Wall -DQUAKEWORLD $(OPTFLAGS) $(DEFS) -I. \
|
CFLAGS = @CFLAGS@ -Wall -DQUAKEWORLD $(OPTFLAGS) $(DEFS) -I. \
|
||||||
$(SRC_DIR_INC) -I$(QW_COMMON_DIR) -I$(COMMON_DIR)
|
$(SRC_DIR_INC) -I$(QW_COMMON_DIR) -I$(COMMON_ODIR) -I$(COMMON_DIR)
|
||||||
ALL_X11_SRC = $(GENERAL_SRC) $(SW_REND_SRC) $(QW_X11_VID_SRC) model.c
|
ALL_X11_SRC = $(GENERAL_SRC) $(SW_REND_SRC) $(QW_X11_VID_SRC) model.c
|
||||||
ALL_GL_SRC = $(GENERAL_SRC) $(GL_REND_SRC) $(GL_VID_SRC) $(QW_GL_REND_SRC)
|
ALL_GL_SRC = $(GENERAL_SRC) $(GL_REND_SRC) $(GL_VID_SRC) $(QW_GL_REND_SRC)
|
||||||
ALL_TDFX_SRC = $(GENERAL_SRC) $(GL_REND_SRC) $(TDFX_VID_SRC) $(QW_GL_REND_SRC)
|
ALL_TDFX_SRC = $(GENERAL_SRC) $(GL_REND_SRC) $(TDFX_VID_SRC) $(QW_GL_REND_SRC)
|
||||||
|
|
Loading…
Reference in a new issue