chiark / gitweb /
Tents: mark squares as non-tents with {Shift,Control}-cursor keys.
[sgt-puzzles.git] / README
1 This is the README accompanying the source code to Simon Tatham's
2 puzzle collection. The collection's web site is at
3 <http://www.chiark.greenend.org.uk/~sgtatham/puzzles/>.
4
5 If you've obtained the source code by downloading a .tar.gz archive
6 from the Puzzles web site, you should find several Makefiles in the
7 source code. However, if you've checked the source code out from the
8 Puzzles Subversion repository, you won't find the Makefiles: they're
9 automatically generated by `mkfiles.pl', so run that to create them.
10
11 The Makefiles include:
12
13  - `Makefile.am', together with the static `configure.ac', is intended
14    as input to automake. Run `mkauto.sh' to turn these into a
15    configure script and Makefile.in, after which you can then run
16    `./configure' to create an actual Unix Makefile.
17
18  - `Makefile.vc' should work under MS Visual C++ on Windows.
19
20  - `Makefile.cyg' should work under Cygwin / MinGW. With appropriate
21    tweaks and setting of TOOLPATH, it should work for both compiling
22    on Windows and cross-compiling on Unix.
23
24  - `Makefile.osx' should work under Mac OS X, provided the Xcode
25    tools are installed. It builds a single monolithic OS X
26    application capable of running any of the puzzles, or even more
27    than one of them at a time.
28
29  - `Makefile.wce' should work under MS eMbedded Visual C++ on
30    Windows and the Pocket PC SDK; it builds Pocket PC binaries.
31
32 Many of these Makefiles build a program called `nullgame' in
33 addition to the actual game binaries. This program doesn't do
34 anything; it's just a template for people to start from when adding
35 a new game to the collection, and it's compiled every time to ensure
36 that it _does_ compile and link successfully (because otherwise it
37 wouldn't be much use as a template). Once it's built, you can run it
38 if you really want to (but it's very boring), and then you should
39 ignore it.
40
41 DO NOT EDIT THE MAKEFILES DIRECTLY, if you plan to send any changes
42 back to the maintainer. The makefiles are generated automatically by
43 the Perl script `mkfiles.pl' from the file `Recipe' and the various
44 .R files. If you need to change the makefiles as part of a patch,
45 you should change Recipe, *.R, and/or mkfiles.pl.
46
47 The manual is provided in Windows Help format for the Windows build;
48 in text format for anyone who needs it; and in HTML for the Mac OS X
49 application and for the web site. It is generated from a Halibut
50 source file (puzzles.but), which is the preferred form for
51 modification. To generate the manual in other formats, rebuild it,
52 or learn about Halibut, visit the Halibut website at
53 <http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.