summaryrefslogtreecommitdiffstats
path: root/monop/Makefile
blob: bc9bcb7e80620ace5c7e3c0a0772728b122bfa04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#	$NetBSD: Makefile,v 1.24 2003/10/19 01:01:44 lukem Exp $
#	@(#)Makefile	8.1 (Berkeley) 5/31/93

.include <bsd.own.mk>

PROG=	monop
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
MAN=	monop.6
HIDEGAME=hidegame
CLEANFILES+=initdeck cards.pck
.if ${MKSHARE} != "no"
FILES=cards.pck
FILESDIR=/usr/share/games
.endif

realall: ${FILES}

initdeck: initdeck.c
	${_MKMSG} "compile  ${.TARGET}"
	${_MKCMD}\
	${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c

cards.pck: initdeck
	${_MKMSG} " create  ${.TARGET}"
	${_MKCMD}\
	./initdeck ${.CURDIR}/cards.inp

.include <bsd.prog.mk>