From 43eafe1fdf356c0c1c88936ffa79c83291973b5d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 13 Sep 2008 19:17:26 +0000 Subject: 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] --- slant.R | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'slant.R') diff --git a/slant.R b/slant.R index fb5653d..8a72070 100644 --- a/slant.R +++ b/slant.R @@ -1,15 +1,15 @@ # -*- makefile -*- -SLANT = slant dsf +SLANT_EXTRA = dsf -slant : [X] GTK COMMON SLANT slant-icon|no-icon +slant : [X] GTK COMMON slant SLANT_EXTRA slant-icon|no-icon -slant : [G] WINDOWS COMMON SLANT slant.res|noicon.res +slant : [G] WINDOWS COMMON slant SLANT_EXTRA slant.res|noicon.res -slantsolver : [U] slant[STANDALONE_SOLVER] dsf STANDALONE -slantsolver : [C] slant[STANDALONE_SOLVER] dsf STANDALONE +slantsolver : [U] slant[STANDALONE_SOLVER] SLANT_EXTRA STANDALONE +slantsolver : [C] slant[STANDALONE_SOLVER] SLANT_EXTRA STANDALONE -ALL += SLANT +ALL += slant[COMBINED] SLANT_EXTRA !begin gtk GAMES += slant -- cgit v1.1