diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-04-22 16:45:34 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-04-22 16:45:34 +0100 |
| commit | ef6f6427a263627de1d0fed22d8f367b15e2fb1a (patch) | |
| tree | 8c959bea949f471cd7c99a7aa37a301358b55e0d /unfinished | |
| parent | b7034aeb51a99336fca2e15837c8337481964f6d (diff) | |
| download | puzzles-ef6f6427a263627de1d0fed22d8f367b15e2fb1a.zip puzzles-ef6f6427a263627de1d0fed22d8f367b15e2fb1a.tar.gz puzzles-ef6f6427a263627de1d0fed22d8f367b15e2fb1a.tar.bz2 puzzles-ef6f6427a263627de1d0fed22d8f367b15e2fb1a.tar.xz | |
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.
Diffstat (limited to 'unfinished')
| -rw-r--r-- | unfinished/group.R | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unfinished/group.R b/unfinished/group.R index a11d22e..394e364 100644 --- a/unfinished/group.R +++ b/unfinished/group.R @@ -1,14 +1,14 @@ # -*- makefile -*- -GROUP_LATIN_EXTRA = tree234 maxflow -GROUP_EXTRA = latin GROUP_LATIN_EXTRA +GROUP_EXTRA = LATIN +GROUP_EXTRA_SOLVER = LATIN_SOLVER group : [X] GTK COMMON group GROUP_EXTRA group-icon|no-icon group : [G] WINDOWS COMMON group GROUP_EXTRA group.res|noicon.res -groupsolver : [U] group[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] GROUP_LATIN_EXTRA STANDALONE -groupsolver : [C] group[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] GROUP_LATIN_EXTRA STANDALONE +groupsolver : [U] group[STANDALONE_SOLVER] GROUP_EXTRA_SOLVER STANDALONE +groupsolver : [C] group[STANDALONE_SOLVER] GROUP_EXTRA_SOLVER STANDALONE ALL += group[COMBINED] GROUP_EXTRA |