mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -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
468 B
Makefile
25 lines
468 B
Makefile
# -*- makefile -*-
|
|
|
|
MINES_EXTRA = tree234
|
|
|
|
mines : [X] GTK COMMON mines MINES_EXTRA mines-icon|no-icon
|
|
|
|
mines : [G] WINDOWS COMMON mines MINES_EXTRA mines.res|noicon.res
|
|
|
|
mineobfusc : [U] mines[STANDALONE_OBFUSCATOR] MINES_EXTRA STANDALONE
|
|
mineobfusc : [C] mines[STANDALONE_OBFUSCATOR] MINES_EXTRA STANDALONE
|
|
|
|
ALL += mines[COMBINED] MINES_EXTRA
|
|
|
|
!begin gtk
|
|
GAMES += mines
|
|
!end
|
|
|
|
!begin >list.c
|
|
A(mines) \
|
|
!end
|
|
|
|
!begin >wingames.lst
|
|
mines.exe:Mines
|
|
!end
|