README
1This package contains the sources of the XBoard-compatible Chess and
2Chess-variant engine Fairy-Max, and its dedicated derivatives ShaMax
3(for Shatranj) and MaxQi (for XiangQi = Chinese Chess). A Makefile
4is provided to compile and install them. Normally this would require only
5the command (given from the main directory of the package):
6
7sudo make install
8
9This will install the executables in /usr/games, (where XBoard expects
10them), and their data files in /usr/share/games/fairymax.
11
12Should you want to compile by hand, you could use the following
13commands:
14
15gcc -O2 fairymax.c -o fairymax
16
17gcc -O2 fairymax.c -DSHATRANJ -o shamax
18
19gcc -O2 maxqi.c -o maxqi
20
21In this case you will get versions that expect their fmax.ini or qmax.ini
22files in the current direcory. To change the default path of the ini files,
23you can include the argument
24
25-DINI_FILE=\"pathname\"
26
27to the gcc compilation command line.
28
29H.G.Muller
30
31