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]
25 lines
445 B
Makefile
25 lines
445 B
Makefile
# -*- makefile -*-
|
|
|
|
SOLO_EXTRA = divvy dsf
|
|
|
|
solo : [X] GTK COMMON solo SOLO_EXTRA solo-icon|no-icon
|
|
|
|
solo : [G] WINDOWS COMMON solo SOLO_EXTRA solo.res|noicon.res
|
|
|
|
solosolver : [U] solo[STANDALONE_SOLVER] SOLO_EXTRA STANDALONE
|
|
solosolver : [C] solo[STANDALONE_SOLVER] SOLO_EXTRA STANDALONE
|
|
|
|
ALL += solo[COMBINED] SOLO_EXTRA
|
|
|
|
!begin gtk
|
|
GAMES += solo
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(solo) \
|
|
!end
|
|
|
|
!begin >wingames.lst
|
|
solo.exe:Solo
|
|
!end
|