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