!makefile cygwin Makefile.cyg
!makefile osx Makefile.osx
-WINDOWS = windows user32.lib gdi32.lib comctl32.lib
+WINDOWS = windows user32.lib gdi32.lib comctl32.lib comdlg32.lib
COMMON = midend misc malloc random version
NET = net tree234
NETSLIDE = netslide tree234
MINES = mines tree234
FLIP = flip tree234
+PEGS = pegs tree234
ALL = list NET NETSLIDE cube fifteen sixteen rect pattern solo twiddle
- + MINES samegame FLIP guess
+ + MINES samegame FLIP guess PEGS
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
samegame : [X] gtk COMMON samegame
flip : [X] gtk COMMON FLIP
guess : [X] gtk COMMON guess
+pegs : [X] gtk COMMON PEGS
# The Windows Net shouldn't be called `net.exe' since Windows
# already has a reasonably important utility program by that name!
samegame : [G] WINDOWS COMMON samegame
flip : [G] WINDOWS COMMON FLIP
guess : [G] WINDOWS COMMON guess
+pegs : [G] WINDOWS COMMON PEGS
# Mac OS X unified application containing all the puzzles.
Puzzles : [MX] osx osx.icns osx-info.plist COMMON ALL
!begin gtk
install:
for i in cube net netslide fifteen sixteen twiddle \
- pattern rect solo mines samegame flip guess; do \
+ pattern rect solo mines samegame flip guess \
+ pegs; do \
$(INSTALL_PROGRAM) -m 755 $$i $(DESTDIR)$(gamesdir)/$$i; \
done
!end