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:
Simon Tatham
2008-09-13 19:17:26 +00:00
parent 1d661ec46b
commit 43eafe1fdf
28 changed files with 95 additions and 93 deletions

8
net.R
View File

@ -1,14 +1,14 @@
# -*- makefile -*-
NET = net tree234 dsf
NET_EXTRA = tree234 dsf
net : [X] GTK COMMON NET net-icon|no-icon
net : [X] GTK COMMON net NET_EXTRA net-icon|no-icon
# The Windows Net shouldn't be called `net.exe' since Windows
# already has a reasonably important utility program by that name!
netgame : [G] WINDOWS COMMON NET net.res|noicon.res
netgame : [G] WINDOWS COMMON net NET_EXTRA net.res|noicon.res
ALL += NET
ALL += net[COMBINED] NET_EXTRA
!begin gtk
GAMES += net