Skip to content

Commit 633c7dd

Browse files
author
fabian
committed
adapt build instructions in README to the new build system
1 parent b7e3da8 commit 633c7dd

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

README

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,36 @@ distributions. Patches are always welcome. ;-)
7171
General Hints
7272
-------------
7373

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:
7575

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:
7883

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
8187

82-
make SHAREWARE=0
88+
The resulting binaries can be found in the rott/ directory.
8389

90+
The build system is setup to build the commercial variant of ROTT.
8491
This variant supports the Registered Version, the "Super ROTT" CD Version and
8592
the "Site License" CD Version of the game by automatically detecting and
8693
loading their corresponding multiplayer map files.
8794

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
8998

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.
92104

93105

94106
------------

0 commit comments

Comments
 (0)