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] --- pegs.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pegs.R') diff --git a/pegs.R b/pegs.R index 7dbddf5..5468713 100644 --- a/pegs.R +++ b/pegs.R @@ -1,12 +1,12 @@ # -*- makefile -*- -PEGS = pegs tree234 +PEGS_EXTRA = tree234 -pegs : [X] GTK COMMON PEGS pegs-icon|no-icon +pegs : [X] GTK COMMON pegs PEGS_EXTRA pegs-icon|no-icon -pegs : [G] WINDOWS COMMON PEGS pegs.res|noicon.res +pegs : [G] WINDOWS COMMON pegs PEGS_EXTRA pegs.res|noicon.res -ALL += PEGS +ALL += pegs[COMBINED] PEGS_EXTRA !begin gtk GAMES += pegs -- cgit v1.1