[rott-commits] r265 - in trunk: . rott

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 21 04:16:18 EST 2012


Author: fabian
Date: 2012-02-21 04:16:18 -0500 (Tue, 21 Feb 2012)
New Revision: 265

Modified:
   trunk/README
   trunk/rott/Makefile
Log:
Final preparations before the 1.1.2 release.

Modified: trunk/README
===================================================================
--- trunk/README	2012-02-20 15:18:07 UTC (rev 264)
+++ trunk/README	2012-02-21 09:16:18 UTC (rev 265)
@@ -46,13 +46,17 @@
 Fabian Greffrath (some minor improvements)
 
 
----------------------------
-Notes for the 1.1.1 Release
----------------------------
+----------------------------
+Notes for the 1.1.x Releases
+----------------------------
 
 Version 1.1.1 is merely a bugfix release that contains all the patches that
 have accumulated in Fedora and Debian during the previous year.
 
+Version 1.1.2 is another bugfix release that contains the Debian patches from
+the previous two and a half years; among them enabling the playback of demo
+files. Furthermore the build system has undergone a complete overhaul.
+
 Enabling the use of UNICODE (instead of keyboard scancodes) for the cheat codes
 and names in the highscore table is considered the release goal for the next
 point release. Getting network play working is considered the release goal for
@@ -69,24 +73,21 @@
 
 To compile the source code under Linux, change to the rott/ directory and type:
 
-make clean
-make
+  make clean
+  make
 
-The source code is setup to use shareware binaries.  If you want to use the
-registered version of ROTT, edit rott/develop.h and make the following changes:
+The build system is setup to use shareware binaries.  If you want to use the
+registered version of ROTT, compile with:
 
-change
-#define SHAREWARE   1
-#define SUPERROTT   0
-to
-#define SHAREWARE   0
-#define SUPERROTT   1
+  make SHAREWARE=0
 
-After this, save your changes and compile as normal.
+You may additionally append SUPERROTT=1 or SITELICENSE=1, if you want to use
+the CD version or the Site License CD version, respectively. However, make
+sure to only set one of them to 1 at once. You may want to edit rott/Makefile
+to make your changes persistent.
 
-If you experience difficulty with sound, you may need to download a CVS version
-of SDL_mixer.  Instructions for doing this can be found at the SDL_mixer site,
-linked below.
+It is generally recommended to build against the most recent version of 
+the Simple Direct Media Layer and SDL_mixer.
 
 
 ------------

Modified: trunk/rott/Makefile
===================================================================
--- trunk/rott/Makefile	2012-02-20 15:18:07 UTC (rev 264)
+++ trunk/rott/Makefile	2012-02-21 09:16:18 UTC (rev 265)
@@ -1,4 +1,7 @@
-# Make sure only one of the following are on at one time
+# Determine which version to build
+# Make sure only one of the following is set to 1 at once
+# Triple 0 will build the commercial/registered version
+
 SHAREWARE   ?= 1
 SUPERROTT   ?= 0
 SITELICENSE ?= 0
@@ -7,8 +10,9 @@
 CPPFLAGS += -DSUPERROTT=$(SUPERROTT)
 CPPFLAGS += -DSITELICENSE=$(SITELICENSE)
 
-BINARY ?= rott
+ROTT ?= rott
 
+# Regular build flags and rules
 
 CC ?= gcc
 
@@ -81,9 +85,9 @@
 
 AUDIOLIB := audiolib/audiolib.a
 
-all: $(BINARY)
+all: $(ROTT)
 
-$(BINARY): $(OBJS) $(AUDIOLIB)
+$(ROTT): $(OBJS) $(AUDIOLIB)
 	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
 
 $(OBJS): develop.h
@@ -91,6 +95,8 @@
 $(AUDIOLIB):
 	$(MAKE) -C audiolib
 
-clean:
+tidy: 
+	$(RM) $(OBJS) $(ROTT) $(ROTT).exe
+
+clean: tidy
 	$(MAKE) -C audiolib $@
-	$(RM) $(OBJS) $(BINARY) $(BINARY).exe



More information about the rott-commits mailing list