Made the Makefiles work.

This commit is contained in:
Marcus Sundberg 2000-03-07 23:13:00 +00:00
parent caabae74d3
commit 4e76d7e176
5 changed files with 9 additions and 5 deletions

View file

@ -12,7 +12,7 @@ CC := @CC@
LDFLAGS += @LDFLAGS@ @LIBS@ LDFLAGS += @LDFLAGS@ @LIBS@
INCLUDES += -I$(SRC_DIR) -I$(COMMON_DIR) @OGL_INCLUDES@ INCLUDES += -I$(SRC_DIR) -I$(COMMON_DIR) @OGL_INCLUDES@ -I$(top_builddir)/common
CFLAGS += @CFLAGS@ $(INCLUDES) CFLAGS += @CFLAGS@ $(INCLUDES)
MAKE_SURE_DIR = if test -d "$$DIR"; then \ MAKE_SURE_DIR = if test -d "$$DIR"; then \

View file

@ -3,13 +3,14 @@
# Quake general stuff # Quake general stuff
# #
top_builddir = ..
PROJECT_DIR := @top_srcdir@ PROJECT_DIR := @top_srcdir@
BIN_PREFIX := common BIN_PREFIX := common
SRC_DIR := @srcdir@ SRC_DIR := @srcdir@
MODULE := common MODULE := common
OBJ_PATTERN = $(BUILD_DIR)/sound_lib/%.o $(BUILD_DIR)/common_lib/%.o OBJ_PATTERN = $(BUILD_DIR)/sound_lib/%.o $(BUILD_DIR)/common_lib/%.o
include $(PROJECT_DIR)/Rules.mk include $(top_builddir)/Rules.mk
SOUND_LIB := sound_lib.a SOUND_LIB := sound_lib.a

View file

@ -3,13 +3,14 @@
# Quake general stuff # Quake general stuff
# #
top_builddir = ..
PROJECT_DIR := @top_srcdir@ PROJECT_DIR := @top_srcdir@
BIN_PREFIX := qw-client BIN_PREFIX := qw-client
SRC_DIR := @srcdir@ SRC_DIR := @srcdir@
MODULE := qw_client MODULE := qw_client
OBJ_PATTERN = $(BUILD_DIR)/common_lib/%.@OBJEXT@ $(BUILD_DIR)/%.@OBJEXT@ OBJ_PATTERN = $(BUILD_DIR)/common_lib/%.@OBJEXT@ $(BUILD_DIR)/%.@OBJEXT@
include $(PROJECT_DIR)/Rules.mk include $(top_builddir)/Rules.mk
######################################################################## ########################################################################
# #

View file

@ -3,13 +3,14 @@
# Quake general stuff # Quake general stuff
# #
top_builddir = ..
PROJECT_DIR := @top_srcdir@ PROJECT_DIR := @top_srcdir@
BIN_PREFIX := qw-server BIN_PREFIX := qw-server
SRC_DIR := @srcdir@ SRC_DIR := @srcdir@
MODULE := qw_server MODULE := qw_server
OBJ_PATTERN = $(BUILD_DIR)/%.@OBJEXT@ OBJ_PATTERN = $(BUILD_DIR)/%.@OBJEXT@
include $(PROJECT_DIR)/Rules.mk include $(top_builddir)/Rules.mk
######################################################################## ########################################################################
# #

View file

@ -3,13 +3,14 @@
# Quake general stuff # Quake general stuff
# #
top_builddir = ..
PROJECT_DIR := @top_srcdir@ PROJECT_DIR := @top_srcdir@
BIN_PREFIX := uquake BIN_PREFIX := uquake
SRC_DIR := @srcdir@ SRC_DIR := @srcdir@
MODULE := uquake MODULE := uquake
OBJ_PATTERN = $(BUILD_DIR)/common_lib/%.@OBJEXT@ $(BUILD_DIR)/%.@OBJEXT@ OBJ_PATTERN = $(BUILD_DIR)/common_lib/%.@OBJEXT@ $(BUILD_DIR)/%.@OBJEXT@
include $(PROJECT_DIR)/Rules.mk include $(top_builddir)/Rules.mk
######################################################################## ########################################################################
# #