1995-03-23 11:28:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 1995/03/23 08:34:32 cgd Exp $
|
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
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
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= monop.6
|
1993-08-10 06:44:47 +04:00
|
|
|
DPADD+= ${LIBCOMPAT}
|
|
|
|
LDADD+= -lcompat
|
1993-03-21 12:45:37 +03:00
|
|
|
HIDEGAME=hidegame
|
|
|
|
CLEANFILES+=initdeck cards.pck
|
|
|
|
|
1993-08-07 12:27:53 +04:00
|
|
|
monop: cards.pck
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
cards.pck: initdeck
|
1994-01-05 00:40:31 +03:00
|
|
|
${.OBJDIR}/initdeck ${.CURDIR}/cards.inp
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
initdeck: initdeck.c
|
1993-11-08 07:45:28 +03:00
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
beforeinstall:
|
1993-08-07 12:27:53 +04:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \
|
1993-03-21 12:45:37 +03:00
|
|
|
${DESTDIR}/usr/share/games
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|