home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.uni-stuttgart.de/pub/systems/acorn/
/
Acorn.tar
/
Acorn
/
riscos
/
games
/
angband
/
sourcextra.spk
/
ReadMe
< prev
Wrap
Text File
|
1995-09-19
|
2KB
|
54 lines
This archive contains the source to the login utility,
and a utility to munge the Angband source tree into a
RISC OS source tree.
To compile Angband:
-------------------
0) You will need Acorn C/C++ and OSLib 5.0. Other compilers
may be suitable, but you will need to muck around with
the Makefile.
1) Download the source tree. The src directory in this
archive contains the latest version of main-acn.c, and
Makefile.acn, along with the required diffs to the
2.7.8 source. If you can obtain a new enough copy
of the source tree, you won't need these.
2) Dearchive it using some suitable utility, such as SparkFS.
Make sure it translates filenames such as Makefile.ibm to
Makefile/ibm.
2) Merge its lib directory with your !Angband.lib directory.
3) Create a directory src inside !Angband, and directories
c, h, and o inside src.
4) Copy as much of the source tree src directory into your src
directory as you can (its >77 files). You can delete all
the Makefiles, except Makefile.acn, which you should rename
to Makefile. A-mac-h.pch can go as well.
5) Make sure that Angband$Dir is pointing to the correct
!Angband application by double-clicking on !Angband.!Boot.
Run the enclosed ConvSource program. This will rename */c
and */h to c.* and h.*.
6) Do steps 4 & 5 again with any source files you couldn't fit
in the first time round.
7) Make sure all the c and h files, and the Makefile are set
to type Text.
8) If the source tree you downloaded does not contain the
Acorn patches, you will need to go through the source
files, making the changes detailed in src.diffs278.
9) You can now compile Angband using by dragging Makefile to
!AMU. Examine config.h and Makefile for the various options
available.
Kevin Bracey (kevin@iota.co.uk)