Files
puzzles/lightup.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

25 lines
493 B
Makefile

# -*- makefile -*-
LIGHTUP_EXTRA = combi
lightup : [X] GTK COMMON lightup LIGHTUP_EXTRA lightup-icon|no-icon
lightup : [G] WINDOWS COMMON lightup LIGHTUP_EXTRA lightup.res|noicon.res
lightupsolver : [U] lightup[STANDALONE_SOLVER] LIGHTUP_EXTRA STANDALONE
lightupsolver : [C] lightup[STANDALONE_SOLVER] LIGHTUP_EXTRA STANDALONE
ALL += lightup[COMBINED] LIGHTUP_EXTRA
!begin gtk
GAMES += lightup
!end
!begin >list.c
A(lightup) \
!end
!begin >wingames.lst
lightup.exe:Light Up
!end