moved drawing program info on startup to separate function
[rocksndiamonds.git] / INSTALL
1 ===============================================================================
2 Compiling and installing Rocks'n'Diamonds
3 ===============================================================================
4
5 To compile the game, you either need the new SDL2 library (recommended) or the
6 old SDL 1.2 library. In addition, you also need the libraries SDL_image,
7 SDL_mixer (including the SMPEG library if you want MP3 support) and SDL_net.
8
9 Please install these libraries before building Rocks'n'Diamonds.
10
11
12 -------------------------------------------------------------------------------
13 Linux and other Unix systems (including Mac OS X):
14 -------------------------------------------------------------------------------
15
16 Just run "make" to build the game using either SDL2 or SDL (whatever being
17 available).
18
19 Run "make sdl" or "make sdl2" to explicitly use either SDL 1.2 or SDL2.
20
21
22 -------------------------------------------------------------------------------
23 Windows with gcc (native or cross-compiling)
24 -------------------------------------------------------------------------------
25
26 To build the game natively, just proceed as described above for Unix systems.
27
28 To cross-compile the game for Windows, run "cross-win32". You probably have to
29 adjust the path to the Windows cross-compiler defined in "CROSS_PATH_WIN32" in
30 the top-level Makefile.
31
32
33 That's all!
34
35 If you have any comments, corrections or suggestions regarding the Makefiles,
36 please let me know at "info@artsoft.org". Thanks!