From ef6f6427a263627de1d0fed22d8f367b15e2fb1a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 22 Apr 2018 16:45:34 +0100 Subject: 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. --- keen.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keen.R') diff --git a/keen.R b/keen.R index 77609bc..46bd09a 100644 --- a/keen.R +++ b/keen.R @@ -1,14 +1,14 @@ # -*- makefile -*- -KEEN_LATIN_EXTRA = tree234 maxflow dsf -KEEN_EXTRA = latin KEEN_LATIN_EXTRA +KEEN_EXTRA = dsf LATIN +KEEN_EXTRA_SOLVER = dsf LATIN_SOLVER keen : [X] GTK COMMON keen KEEN_EXTRA keen-icon|no-icon keen : [G] WINDOWS COMMON keen KEEN_EXTRA keen.res|noicon.res -keensolver : [U] keen[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] KEEN_LATIN_EXTRA STANDALONE -keensolver : [C] keen[STANDALONE_SOLVER] latin[STANDALONE_SOLVER] KEEN_LATIN_EXTRA STANDALONE +keensolver : [U] keen[STANDALONE_SOLVER] KEEN_EXTRA_SOLVER STANDALONE +keensolver : [C] keen[STANDALONE_SOLVER] KEEN_EXTRA_SOLVER STANDALONE ALL += keen[COMBINED] KEEN_EXTRA -- cgit v1.1