chiark / gitweb /
Recipe: centralise dependencies for latin.c.
authorSimon Tatham <anakin@pobox.com>
Sun, 22 Apr 2018 15:45:34 +0000 (16:45 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 22 Apr 2018 15:45:34 +0000 (16:45 +0100)
commitef6f6427a263627de1d0fed22d8f367b15e2fb1a
tree8c959bea949f471cd7c99a7aa37a301358b55e0d
parentb7034aeb51a99336fca2e15837c8337481964f6d
Recipe: centralise dependencies for latin.c.

It's silly to have every puzzle using latin.c separately specify in
its .R file the list of additional modules that latin.c depends on, or
for that matter to have them all have to separately know how to adjust
that for the STANDALONE_SOLVER mode of latin.c.

So I've centralised a new pair of definitions into the core Recipe
file, called LATIN and LATIN_SOLVER, and now a client of latin.c need
only ask for that to get all the necessary dependencies too.

Also, while I'm here, I've moved the non-puzzle-specific 'latincheck'
test program out of unequal.R into the central Recipe.
Recipe
keen.R
singles.R
towers.R
unequal.R
unfinished/group.R