[rott-commits] r264 - trunk/rott
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Feb 20 10:18:07 EST 2012
Author: fabian
Date: 2012-02-20 10:18:07 -0500 (Mon, 20 Feb 2012)
New Revision: 264
Modified:
trunk/rott/Makefile
trunk/rott/develop.h
Log:
Move selection of variants from develop.h to Makefile, so we need not touch the sources when rebuilding another variant.
Modified: trunk/rott/Makefile
===================================================================
--- trunk/rott/Makefile 2012-02-15 12:25:34 UTC (rev 263)
+++ trunk/rott/Makefile 2012-02-20 15:18:07 UTC (rev 264)
@@ -1,5 +1,15 @@
+# Make sure only one of the following are on at one time
+SHAREWARE ?= 1
+SUPERROTT ?= 0
+SITELICENSE ?= 0
+
+CPPFLAGS += -DSHAREWARE=$(SHAREWARE)
+CPPFLAGS += -DSUPERROTT=$(SUPERROTT)
+CPPFLAGS += -DSITELICENSE=$(SITELICENSE)
+
BINARY ?= rott
+
CC ?= gcc
CFLAGS ?= -g -O2
Modified: trunk/rott/develop.h
===================================================================
--- trunk/rott/develop.h 2012-02-15 12:25:34 UTC (rev 263)
+++ trunk/rott/develop.h 2012-02-20 15:18:07 UTC (rev 264)
@@ -41,9 +41,9 @@
#define BNACRASHPREVENT 1 //bna added
// Make sure only one of the following are on at one time
-#define SHAREWARE 1
-#define SUPERROTT 0
-#define SITELICENSE 0
+//#define SHAREWARE 1
+//#define SUPERROTT 0
+//#define SITELICENSE 0
// cute little dopefish thing, only works with special patch?
#define DOPEFISH 0
More information about the rott-commits
mailing list