Updated Makefile

This commit is contained in:
Walter Julius Hennecke 2012-01-22 22:44:06 +01:00
parent 9766c706a0
commit ac826f207d

View file

@ -39,10 +39,10 @@ ifndef BUILD_SERVER
BUILD_SERVER =
endif
ifndef BUILD_GAME_SO
BUILD_GAME_SO =
BUILD_GAME_SO = 0
endif
ifndef BUILD_GAME_QVM
BUILD_GAME_QVM =
BUILD_GAME_QVM = 0
endif
ifndef BUILD_BASEGAME
BUILD_BASEGAME =
@ -51,7 +51,8 @@ ifndef BUILD_MISSIONPACK
BUILD_MISSIONPACK=
endif
BUILD_ELITEFORCE =
BUILD_ELITEFORCE = 1
BUILD_XTRA = 1
ifneq ($(PLATFORM),darwin)
BUILD_CLIENT_SMP = 0
@ -103,6 +104,10 @@ ifndef VERSION
endif
endif
ifeq ($(BUILD_XTRA),1)
VERSION=1.0
endif
ifndef CLIENTBIN
CLIENTBIN=ioquake3
endif
@ -249,6 +254,10 @@ ifeq ($(BUILD_ELITEFORCE),1)
CFLAGS += -DELITEFORCE
endif
ifeq ($(BUILD_XTRA),1)
CFLAGS += -DXTRA
endif
bin_path=$(shell which $(1) 2> /dev/null)
# We won't need this if we only build the server