rnd-19981120-1
[rocksndiamonds.git] / INSTALL
1
2 WHAT TO DO TO INSTALL "ROCKS_N_DIAMONDS-0.9" ON YOUR SYSTEM
3 ===========================================================
4
5 If you have a Linux system (Intel based, a.out, kernel 1.2.x), you
6 can use the precompiled binary.
7
8 If you have another Unix system, or an ELF system or just want to
9 compile the program by yourself, do the following:
10
11 Edit the file "Makefile" and set the following options:
12
13 XPM_INCLUDE_FILE        -       change this to the location where you
14                                 have your XPM-Library include file.
15
16                                 You must have the XPM-Library "libXpm"
17                                 installed on your system to run this game.
18                                 If you don't have it, look at your local
19                                 FTP site with X11 archive to get it! :)
20
21 GAME_DIR                -       You can leave these values untouched
22                                 if you use the default location for
23                                 the game directory.
24                                 If you want to move it to other places in
25                                 your directory tree, just change them
26                                 accordingly. (You can use symlinks instead,
27                                 of course.)
28                                 You might want to set GAME_DIR to the full
29                                 path of the game in your file system, so
30                                 you don't have to go to the game directory
31                                 when you want to play it.
32
33 SOUNDS                  -       If you never want to hear any sounds,
34                                 set this to "-DNO_SOUNDS", but be warned:
35                                 It's much less fun playing without sound! :)
36                                 (The program detects by itself if it can
37                                 play sounds or not, anyway.)
38
39 SCORE_ENTRIES           -       Set this to "-DONE_PER_NAME" if you want
40                                 to allow only one entry per player in the
41                                 score file for each level. This is useful
42                                 if there are many players to prevent one
43                                 single player to "flood" the Hall Of Fame
44                                 of every level completely with his name...
45                                 On single user systems, "-DMANY_PER_NAME"
46                                 might be useful to have your name more
47                                 than once in the list.
48
49 SYSTEM                  -       If you have problems with the default
50                                 settings, it might be useful to uncomment
51                                 one of the defines for "SYSTEM" in the
52                                 Makefile, which defines values like
53                                 "-DSYSV" and something like that.
54
55 CC, INCL, LIBS          -       Set these ones to the appropriate values
56                                 you usually use on your system to compile.
57
58
59 Now you can 'make clean' and 'make' and the game binary should be
60 compiled right out of the box. I have tested it with "-Wall" on my
61 system, so I hope that it compiles fine on other systems, too.
62
63 The program should compile and run on Linux (of course),
64 HP-UX, AIX, Net-BSD, SUN and IRIX.
65
66 Have fun!
67
68 Holger Schemel, 22. Oktober 1995