From: Guus Sliepen Date: Mon, 14 Feb 2011 15:34:02 +0000 (+0100) Subject: Allow many makefile variables to be overridden from the environment. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2336b6e92e36dc11e0c9a19f95436bcc346c862c;p=quix0rs-blobwars.git Allow many makefile variables to be overridden from the environment. --- 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