~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify that diagonal moves are not permitted in Pegs.
[sgt/puzzles]
/
Recipe
diff --git
a/Recipe
b/Recipe
index
6b10194
..
24fea9f
100644
(file)
--- a/
Recipe
+++ b/
Recipe
@@
-13,12
+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
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 samegame FLIP guess PEGS
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
net : [X] gtk COMMON NET
netslide : [X] gtk COMMON NETSLIDE
@@
-29,6
+33,11
@@
rect : [X] gtk COMMON rect
pattern : [X] gtk COMMON pattern
solo : [X] gtk COMMON solo
twiddle : [X] gtk COMMON twiddle
pattern : [X] gtk COMMON pattern
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!
@@
-41,6
+50,11
@@
rect : [G] WINDOWS COMMON rect
pattern : [G] WINDOWS COMMON pattern
solo : [G] WINDOWS COMMON solo
twiddle : [G] WINDOWS COMMON twiddle
pattern : [G] WINDOWS COMMON pattern
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
@@
-92,7
+106,7
@@
version.obj: *.c *.h
!end
!specialobj vc version
!begin cygwin
!end
!specialobj vc version
!begin cygwin
-version.o: FORCE
+version.o: FORCE
;
FORCE:
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c
!end
FORCE:
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c
!end
@@
-126,3
+140,13
@@
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 \
+ pegs; do \
+ $(INSTALL_PROGRAM) -m 755 $$i $(DESTDIR)$(gamesdir)/$$i; \
+ done
+!end