[rott-commits] r284 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 24 02:05:14 EST 2015


Author: fabian
Date: 2015-02-24 02:05:14 -0500 (Tue, 24 Feb 2015)
New Revision: 284

Modified:
   trunk/README
Log:
adapt build instructions in README to the new build system

Modified: trunk/README
===================================================================
--- trunk/README	2015-02-24 06:46:58 UTC (rev 283)
+++ trunk/README	2015-02-24 07:05:14 UTC (rev 284)
@@ -71,26 +71,38 @@
 General Hints
 -------------
 
-To compile the source code under Linux, change to the rott/ directory and type:
+The following prerequisites are required to compile the source code:
 
-  make clean
+  autoconf
+  automake
+  pkg-config
+  SDL 1.2
+  SDL_mixer 1.2
+
+To compile the source code, type the following:
+
+  autoreconf -fiv
+  ./configure
   make
 
-The build system is setup to use shareware binaries.  If you want to use one
-of the commercial versions of ROTT, compile with:
+The resulting binaries can be found in the rott/ directory.
 
-  make SHAREWARE=0
-
+The build system is setup to build the commercial variant of ROTT.
 This variant supports the Registered Version, the "Super ROTT" CD Version and
 the "Site License" CD Version of the game by automatically detecting and
 loading their corresponding multiplayer map files.
 
-You may want to edit rott/Makefile to make your changes persistent.
+If you want to build the shareware version of ROTT, configure with:
 
-It is generally recommended to build against the most recent version of 
-the Simple Direct Media Layer and SDL_mixer.
+  ./configure --enable-shareware
 
+Additionally, you may pass the "--enable-suffix=<suffix>" parameter to
+./configure in order to append a suffix to the executable file name,
+e.g. to tell the commercial and the shareware variants apart. You may
+also want to pass the "--enable-datadir=<datadir>" parameter to point
+the executables to the location of your game data files.
 
+
 ------------
 Known Issues
 ------------



More information about the rott-commits mailing list