mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Change to the handling of -DCOMBINED in the makefiles. Instead of
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]
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
# -*- makefile -*-
|
||||
|
||||
NETSLIDE = netslide tree234
|
||||
NETSLIDE_EXTRA = tree234
|
||||
|
||||
netslide : [X] GTK COMMON NETSLIDE netslide-icon|no-icon
|
||||
netslide : [X] GTK COMMON netslide NETSLIDE_EXTRA netslide-icon|no-icon
|
||||
|
||||
netslide : [G] WINDOWS COMMON NETSLIDE netslide.res|noicon.res
|
||||
netslide : [G] WINDOWS COMMON netslide NETSLIDE_EXTRA netslide.res|noicon.res
|
||||
|
||||
ALL += NETSLIDE
|
||||
ALL += netslide[COMBINED] NETSLIDE_EXTRA
|
||||
|
||||
!begin gtk
|
||||
GAMES += netslide
|
||||
|
Reference in New Issue
Block a user