From ac826f207d4acc93a779a01ef3912c80dec18c4c Mon Sep 17 00:00:00 2001 From: Walter Julius Hennecke Date: Sun, 22 Jan 2012 22:44:06 +0100 Subject: [PATCH] Updated Makefile --- Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3dac397..415043a 100644 --- a/Makefile +++ b/Makefile @@ -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