@@ -71,24 +71,36 @@ distributions. Patches are always welcome. ;-)
71
71
General Hints
72
72
-------------
73
73
74
- To compile the source code under Linux, change to the rott/ directory and type :
74
+ The following prerequisites are required to compile the source code :
75
75
76
- make clean
77
- make
76
+ autoconf
77
+ automake
78
+ pkg-config
79
+ SDL 1.2
80
+ SDL_mixer 1.2
81
+
82
+ To compile the source code, type the following:
78
83
79
- The build system is setup to use shareware binaries. If you want to use one
80
- of the commercial versions of ROTT, compile with:
84
+ autoreconf -fiv
85
+ ./configure
86
+ make
81
87
82
- make SHAREWARE=0
88
+ The resulting binaries can be found in the rott/ directory.
83
89
90
+ The build system is setup to build the commercial variant of ROTT.
84
91
This variant supports the Registered Version, the "Super ROTT" CD Version and
85
92
the "Site License" CD Version of the game by automatically detecting and
86
93
loading their corresponding multiplayer map files.
87
94
88
- You may want to edit rott/Makefile to make your changes persistent.
95
+ If you want to build the shareware version of ROTT, configure with:
96
+
97
+ ./configure --enable-shareware
89
98
90
- It is generally recommended to build against the most recent version of
91
- the Simple Direct Media Layer and SDL_mixer.
99
+ Additionally, you may pass the "--enable-suffix=<suffix>" parameter to
100
+ ./configure in order to append a suffix to the executable file name,
101
+ e.g. to tell the commercial and the shareware variants apart. You may
102
+ also want to pass the "--enable-datadir=<datadir>" parameter to point
103
+ the executables to the location of your game data files.
92
104
93
105
94
106
------------
0 commit comments