1993-08-07 12:27:53 +04:00
|
|
|
# from: @(#)Makefile 5.8 (Berkeley) 9/2/92
|
1994-01-05 00:40:31 +03:00
|
|
|
# $Id: Makefile,v 1.10 1994/01/04 21:41:36 pk Exp $
|
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
|
|
|
|
MAN6= monop.0
|
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>
|