aboutsummaryrefslogtreecommitdiff
path: root/unequal.R
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2018-04-22 16:45:34 +0100
committerSimon Tatham <anakin@pobox.com>2018-04-22 16:45:34 +0100
commitef6f6427a263627de1d0fed22d8f367b15e2fb1a (patch)
tree8c959bea949f471cd7c99a7aa37a301358b55e0d /unequal.R
parentb7034aeb51a99336fca2e15837c8337481964f6d (diff)
downloadpuzzles-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 'unequal.R')
-rw-r--r--unequal.R10
1 files changed, 4 insertions, 6 deletions
diff --git a/unequal.R b/unequal.R
index a061582..077407f 100644
--- a/unequal.R
+++ b/unequal.R
@@ -1,16 +1,14 @@
# -*- makefile -*-
-UNEQUAL_EXTRA = latin tree234 maxflow
+UNEQUAL_EXTRA = LATIN
+UNEQUAL_EXTRA_SOLVER = LATIN_SOLVER
unequal : [X] GTK COMMON unequal UNEQUAL_EXTRA unequal-icon|no-icon
unequal : [G] WINDOWS COMMON unequal UNEQUAL_EXTRA unequal.res|noicon.res
-unequalsolver : [U] unequal[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] tree234 maxflow STANDALONE
-unequalsolver : [C] unequal[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] tree234 maxflow STANDALONE
-
-latincheck : [U] latin[STANDALONE_LATIN_TEST] tree234 maxflow STANDALONE
-latincheck : [C] latin[STANDALONE_LATIN_TEST] tree234 maxflow STANDALONE
+unequalsolver : [U] unequal[STANDALONE_SOLVER] UNEQUAL_EXTRA_SOLVER STANDALONE
+unequalsolver : [C] unequal[STANDALONE_SOLVER] UNEQUAL_EXTRA_SOLVER STANDALONE
ALL += unequal[COMBINED] UNEQUAL_EXTRA