mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Files

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.
26 lines
641 B
Makefile
26 lines
641 B
Makefile
# -*- makefile -*-
|
|
|
|
TOWERS_EXTRA = LATIN
|
|
TOWERS_EXTRA_SOLVER = LATIN_SOLVER
|
|
|
|
towers : [X] GTK COMMON towers TOWERS_EXTRA towers-icon|no-icon
|
|
|
|
towers : [G] WINDOWS COMMON towers TOWERS_EXTRA towers.res|noicon.res
|
|
|
|
towerssolver : [U] towers[STANDALONE_SOLVER] TOWERS_EXTRA_SOLVER STANDALONE
|
|
towerssolver : [C] towers[STANDALONE_SOLVER] TOWERS_EXTRA_SOLVER STANDALONE
|
|
|
|
ALL += towers[COMBINED] TOWERS_EXTRA
|
|
|
|
!begin am gtk
|
|
GAMES += towers
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(towers) \
|
|
!end
|
|
|
|
!begin >gamedesc.txt
|
|
towers:towers.exe:Towers:Tower-placing Latin square puzzle:Complete the latin square of towers in accordance with the clues.
|
|
!end
|