aboutsummaryrefslogtreecommitdiff
path: root/mines.R
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2008-09-13 19:17:26 +0000
committerSimon Tatham <anakin@pobox.com>2008-09-13 19:17:26 +0000
commit43eafe1fdf356c0c1c88936ffa79c83291973b5d (patch)
tree8f69ef744fcb39738240fe2d125f9924514d4810 /mines.R
parent1d661ec46b8d7216bc6f2e34a4d6b9cc9fdc6f96 (diff)
downloadpuzzles-43eafe1fdf356c0c1c88936ffa79c83291973b5d.zip
puzzles-43eafe1fdf356c0c1c88936ffa79c83291973b5d.tar.gz
puzzles-43eafe1fdf356c0c1c88936ffa79c83291973b5d.tar.bz2
puzzles-43eafe1fdf356c0c1c88936ffa79c83291973b5d.tar.xz
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]
Diffstat (limited to 'mines.R')
-rw-r--r--mines.R12
1 files changed, 6 insertions, 6 deletions
diff --git a/mines.R b/mines.R
index 3d48182..4550e18 100644
--- a/mines.R
+++ b/mines.R
@@ -1,15 +1,15 @@
# -*- makefile -*-
-MINES = mines tree234
+MINES_EXTRA = tree234
-mines : [X] GTK COMMON MINES mines-icon|no-icon
+mines : [X] GTK COMMON mines MINES_EXTRA mines-icon|no-icon
-mines : [G] WINDOWS COMMON MINES mines.res|noicon.res
+mines : [G] WINDOWS COMMON mines MINES_EXTRA mines.res|noicon.res
-mineobfusc : [U] mines[STANDALONE_OBFUSCATOR] tree234 STANDALONE
-mineobfusc : [C] mines[STANDALONE_OBFUSCATOR] tree234 STANDALONE
+mineobfusc : [U] mines[STANDALONE_OBFUSCATOR] MINES_EXTRA STANDALONE
+mineobfusc : [C] mines[STANDALONE_OBFUSCATOR] MINES_EXTRA STANDALONE
-ALL += MINES
+ALL += mines[COMBINED] MINES_EXTRA
!begin gtk
GAMES += mines