summaryrefslogtreecommitdiffstats
path: root/monop/Makefile
blob: b7909b5869f4c24dda500e563b39188254315571 (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
#	@(#)Makefile	5.5 (Berkeley) 5/11/90

PROG=	monop
SRCS=	monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \
	print.c prop.c rent.c roll.c spec.c trade.c
MAN6=	monop.0
DPADD=	${LIBCOMPAT}
LDADD=	-lcompat
HIDEGAME=hidegame
CLEANFILES+=initdeck cards.pck

all: cards.pck

cards.pck: initdeck
	./initdeck ${.CURDIR}/cards.inp

initdeck: initdeck.c
	${CC} ${CFLAGS} -o ${.TARGET} ${.CURDIR}/initdeck.c

beforeinstall:
	install -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \
	    ${DESTDIR}/usr/share/games

.include <bsd.prog.mk>