2003-10-19 08:45:01 +04:00
|
|
|
# $NetBSD: Makefile,v 1.25 2003/10/19 04:45:01 lukem Exp $
|
1995-03-23 11:28:00 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= monop
|
2003-04-21 05:23:06 +04:00
|
|
|
SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c malloc.c misc.c \
|
|
|
|
morg.c print.c prop.c rent.c roll.c spec.c trade.c
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= monop.6
|
1993-03-21 12:45:37 +03:00
|
|
|
HIDEGAME=hidegame
|
|
|
|
CLEANFILES+=initdeck cards.pck
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
1997-03-25 01:15:37 +03:00
|
|
|
FILES=cards.pck
|
|
|
|
FILESDIR=/usr/share/games
|
1998-09-29 11:33:20 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2001-06-06 21:31:28 +04:00
|
|
|
realall: ${FILES}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1998-09-12 23:05:48 +04:00
|
|
|
initdeck: initdeck.c
|
2003-10-19 08:45:01 +04:00
|
|
|
${_MKMSGLINK}
|
2003-10-19 05:01:44 +04:00
|
|
|
${_MKCMD}\
|
1998-09-12 23:05:48 +04:00
|
|
|
${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
cards.pck: initdeck
|
2003-10-19 08:45:01 +04:00
|
|
|
${_MKMSGCREATE}
|
2003-10-19 05:01:44 +04:00
|
|
|
${_MKCMD}\
|
2002-03-06 00:29:56 +03:00
|
|
|
./initdeck ${.CURDIR}/cards.inp
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|