Add a README.
[sgt/puzzles] / README
CommitLineData
1cdb3e4f 1This is the README accompanying the source code to Simon Tatham's
2puzzle collection.
3
4You should find several Makefiles in the source code:
5
6 - `Makefile.gtk' should work under GNU make on Linux, provided you
7 have GTK installed to compile and link against. It builds GTK
8 binaries of the puzzle games.
9
10 - `Makefile.vc' should work under MS Visual C++ on Windows.
11
12 - `Makefile.cyg' should work under Cygwin / MinGW. With appropriate
13 tweaks and setting of TOOLPATH, it should work for both compiling
14 on Windows and cross-compiling on Unix.
15
16Each of these Makefiles builds a program called `nullgame' in
17addition to the actual game binaries. This program doesn't do
18anything; it's just a template for people to start from when adding
19a new game to the collection, and it's compiled every time to ensure
20that it _does_ compile and link successfully (because otherwise it
21wouldn't be much use as a template). Once it's built, you can run it
22if you really want to (but it's very boring), and then you should
23ignore it.
24
25DO NOT EDIT THE MAKEFILES DIRECTLY, if you plan to send any changes
26back to the maintainer. The makefiles are generated automatically by
27the Perl script `mkfiles.pl' from the file `Recipe'. If you need to
28change the makefiles as part of a patch, you should change Recipe
29and/or mkfiles.pl.