| 1 |
|
| 2 |
Building on a Un*x system |
| 3 |
------------------------- |
| 4 |
|
| 5 |
You _will_ have to edit the Makefile to compile the programs. At |
| 6 |
least you should check the defines CC, XINCDIR, XLIBDIR and OPTIM. |
| 7 |
I've only built this using GNU make and GNU gcc. Please let me know |
| 8 |
if you have to make major changes to make this work using other tools. |
| 9 |
|
| 10 |
To make the X11 version, you need the XForms-library by T.C. Zhao and |
| 11 |
Mark Overmars. This nice software is available by anonymous ftp from |
| 12 |
|
| 13 |
ftp://laue.phys.uwm.edu/pub/xforms |
| 14 |
|
| 15 |
The API of XForms changed a bit between version 0.75 and 0.81. This |
| 16 |
version on Mancala is updated to compile with 0.81. |
| 17 |
|
| 18 |
Typing `make' will attempt to build both the text based version and |
| 19 |
the X11 version. Run `make mancala' or `make xmancala' to build only |
| 20 |
one of the programs. |
| 21 |
|
| 22 |
|
| 23 |
Building on MS-DOS |
| 24 |
------------------ |
| 25 |
|
| 26 |
Only the text based program is available on MS-DOS. The file |
| 27 |
Makefile.bcc should let you compile mancala using Borland's |
| 28 |
bcc-compiler. Try `make -f Makefile.bcc'. If you don't have bcc, but |
| 29 |
you have another C compiler, compile and link mancala.c, minimax.c and |
| 30 |
textmain.c to mancala.exe. Note that I don't check to see that every |
| 31 |
new version compiles on MS-DOS. Let me know if it doesn't. |
| 32 |
|
| 33 |
If you should happen to make a Windows interface to this program, |
| 34 |
please let me know! |