Files
puzzles/singles.R
Simon Tatham ef6f6427a2 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.
2018-04-22 16:45:34 +01:00

24 lines
573 B
Makefile

# -*- makefile -*-
SINGLES_EXTRA = dsf LATIN
singles : [X] GTK COMMON singles SINGLES_EXTRA singles-icon|no-icon
singles : [G] WINDOWS COMMON singles SINGLES_EXTRA singles.res|noicon.res
ALL += singles[COMBINED] SINGLES_EXTRA
singlessolver : [U] singles[STANDALONE_SOLVER] SINGLES_EXTRA STANDALONE
singlessolver : [C] singles[STANDALONE_SOLVER] SINGLES_EXTRA STANDALONE
!begin am gtk
GAMES += singles
!end
!begin >list.c
A(singles) \
!end
!begin >gamedesc.txt
singles:singles.exe:Singles:Number-removing puzzle:Black out the right set of duplicate numbers.
!end