1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
INSTALL for Defendguin
by Bill Kendrick
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/defendguin/
Version 0.0.9
January 5, 2002
REQUIREMENTS
------------
"Defendguin" was programmed using the "Simple Direct Media" layer
libraries by Sam Lantinga. This means that the game can
theoretically run under any environment that the SDL libraries support.
(Windows, MacOS, BeOS, Linux and other Unixes, and more...)
The game is played with a keyboard or a joystick.
Sound and music are available, but are not required (see below).
You will need the "SDL_mixer" library compiled and installed.
You can download the SDL and SDL_mixer libraries at:
http://www.libsdl.org/
INSTALLING
----------
-----------------------------------------------------------------
Note: Read this entire section before you start issuing commands!
-----------------------------------------------------------------
Compilation
-----------
To compile the game, type the command:
make
Note: If you do not have the SDL_mixer library, or wish to not
compile sound support into the game, you can compile it like this:
make nosound
If you have an older version of SDL that doesn't support joysticks,
or wish not to compile Defendguin with joystick support, add
"JOY=NO" to the "make" command above. For example:
make JOY=NO
Installation
------------
Once compiled, to install Defendguin, type:
make install
By default, Defendguin is set up to be installed in "/usr/local/" on
your system. The program file will install into "/usr/local/bin/",
and all of the data files will install into "/usr/local/share/defendguin/".
For these defaults, you will most likely need to be superuser ("root").
Directories
-----------
If you wish to change this, you can set the path when you run "make" and
"make install". The following Makefile variables can be set:
PREFIX (defaults to "/usr/local/")
DATA_PREFIX (defaults to "$(PREFIX)/share/defendguin/")
For example:
make PREFIX=/home/username/
or:
make PREFIX=/usr/ DATA_PREFIX=/opt/defendguin/
Followed with "make install" with the same arguments attached...
Cleanup
-------
If you wish to return the Defendguin directory to its distribution state,
(remove the ".o" object files, and the "defendguin" executable program
file), you can run:
make clean
Uninstallation
--------------
To uninstall Defendguin, you can run:
make uninstall
Make sure the "PREFIX" and "DATA_PREFIX" variables are set the
same as when you ran "make install"!
That's it!
|