~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Peg Solitaire implementation, complete with a random board
[sgt/puzzles]
/
Recipe
diff --git
a/Recipe
b/Recipe
index
50ea172
..
726e4ef
100644
(file)
--- a/
Recipe
+++ b/
Recipe
@@
-13,14
+13,16
@@
!makefile cygwin Makefile.cyg
!makefile osx Makefile.osx
!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
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
ALL = list NET NETSLIDE cube fifteen sixteen rect pattern solo twiddle
- + MINES
+ + MINES
samegame FLIP guess PEGS
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
@@
-32,6
+34,10
@@
pattern : [X] gtk COMMON pattern
solo : [X] gtk COMMON solo
twiddle : [X] gtk COMMON twiddle
mines : [X] gtk COMMON MINES
solo : [X] gtk COMMON solo
twiddle : [X] gtk COMMON twiddle
mines : [X] gtk COMMON MINES
+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!
# The Windows Net shouldn't be called `net.exe' since Windows
# already has a reasonably important utility program by that name!
@@
-45,6
+51,10
@@
pattern : [G] WINDOWS COMMON pattern
solo : [G] WINDOWS COMMON solo
twiddle : [G] WINDOWS COMMON twiddle
mines : [G] WINDOWS COMMON MINES
solo : [G] WINDOWS COMMON solo
twiddle : [G] WINDOWS COMMON twiddle
mines : [G] WINDOWS COMMON MINES
+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
# Mac OS X unified application containing all the puzzles.
Puzzles : [MX] osx osx.icns osx-info.plist COMMON ALL
@@
-130,3
+140,12
@@
FORCE:
fi
!end
!specialobj osx version
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