Files
puzzles/pegs.R
Simon Tatham 43eafe1fdf 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]
2008-09-13 19:17:26 +00:00

22 lines
310 B
Makefile

# -*- makefile -*-
PEGS_EXTRA = tree234
pegs : [X] GTK COMMON pegs PEGS_EXTRA pegs-icon|no-icon
pegs : [G] WINDOWS COMMON pegs PEGS_EXTRA pegs.res|noicon.res
ALL += pegs[COMBINED] PEGS_EXTRA
!begin gtk
GAMES += pegs
!end
!begin >list.c
A(pegs) \
!end
!begin >wingames.lst
pegs.exe:Pegs
!end