2003-11-16 17:14:18 +03:00
|
|
|
# $NetBSD: Makefile,v 1.27 2003/11/16 14:14:18 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
|
2003-11-16 17:14:18 +03:00
|
|
|
CLEANFILES+=initdeck initdeck.lo 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
|
|
|
|
2003-11-16 17:14:18 +03:00
|
|
|
initdeck: initdeck.lo
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_LINK}
|
2003-11-16 17:14:18 +03:00
|
|
|
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
|
1998-09-12 23:05:48 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
cards.pck: initdeck
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2002-03-06 00:29:56 +03:00
|
|
|
./initdeck ${.CURDIR}/cards.inp
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|