!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
FLIP = flip tree234
ALL = list NET NETSLIDE cube fifteen sixteen rect pattern solo twiddle
- + MINES samegame FLIP
+ + MINES samegame FLIP guess
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
mines : [X] gtk COMMON MINES
samegame : [X] gtk COMMON samegame
flip : [X] gtk COMMON FLIP
+guess : [X] gtk COMMON guess
# The Windows Net shouldn't be called `net.exe' since Windows
# already has a reasonably important utility program by that name!
mines : [G] WINDOWS COMMON MINES
samegame : [G] WINDOWS COMMON samegame
flip : [G] WINDOWS COMMON FLIP
+guess : [G] WINDOWS COMMON guess
# Mac OS X unified application containing all the puzzles.
Puzzles : [MX] osx osx.icns osx-info.plist COMMON ALL
fi
!end
!specialobj osx version
+
+# make install for Unix.
+!begin gtk
+install:
+ for i in cube net netslide fifteen sixteen twiddle \
+ pattern rect solo mines samegame flip guess; do \
+ $(INSTALL_PROGRAM) -m 755 $$i $(DESTDIR)$(gamesdir)/$$i; \
+ done
+!end