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

defining it centrally per port, I think it's neater to define it for each puzzle when adding that puzzle to the ALL list - because those front ends which take -DCOMBINED are precisely those which use ALL. In particular, this change opens up the possibility of compiling both individual puzzles _and_ a combined monolith within the same makefile. [originally from svn r8178]
28 lines
709 B
Makefile
28 lines
709 B
Makefile
# -*- makefile -*-
|
|
|
|
UNEQUAL_EXTRA = latin tree234 maxflow
|
|
|
|
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
|
|
|
|
ALL += unequal[COMBINED] UNEQUAL_EXTRA
|
|
|
|
!begin gtk
|
|
GAMES += unequal
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(unequal) \
|
|
!end
|
|
|
|
!begin >wingames.lst
|
|
unequal.exe:Unequal
|
|
!end
|