From 2336b6e92e36dc11e0c9a19f95436bcc346c862c Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 14 Feb 2011 16:34:02 +0100 Subject: [PATCH] Allow many makefile variables to be overridden from the environment. --- makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/makefile b/makefile index a98e6c5..6340e07 100755 --- a/makefile +++ b/makefile @@ -5,16 +5,16 @@ ICONS = icons/ DATA = data gfx sound music VERSION = 1.18 -RELEASE = 1 -USEPAK = 0 - -PREFIX = /usr -BINDIR = $(PREFIX)/games/ -DATADIR = $(PREFIX)/share/games/blobwars/ -DOCDIR = $(PREFIX)/share/doc/$(PROG)/ -ICONDIR = $(PREFIX)/share/icons/hicolor/ -DESKTOPDIR = $(PREFIX)/share/applications/ -LOCALEDIR = $(PREFIX)/share/locale/ +RELEASE ?= 0 +USEPAK ?= 0 + +PREFIX ?= /usr +BINDIR ?= $(PREFIX)/games/ +DATADIR ?= $(PREFIX)/share/games/blobwars/ +DOCDIR ?= $(PREFIX)/share/doc/$(PROG)/ +ICONDIR ?= $(PREFIX)/share/icons/hicolor/ +DESKTOPDIR ?= $(PREFIX)/share/applications/ +LOCALEDIR ?= $(PREFIX)/share/locale/ MEDAL_SERVER_HOST = www.parallelrealities.co.uk MEDAL_SERVER_PORT = 80 -- 2.39.5