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