X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/2ba90e9d2c3a88e22c0593e8a7c0f1cd6318ba11..f6138c99bc04c12506713ae9badd0552ddfc22e5:/monop/Makefile?ds=sidebyside diff --git a/monop/Makefile b/monop/Makefile index b9803504..70bdbc4f 100644 --- a/monop/Makefile +++ b/monop/Makefile @@ -1,25 +1,25 @@ -# from: @(#)Makefile 5.8 (Berkeley) 9/2/92 -# $Id: Makefile,v 1.9 1993/11/08 04:45:57 cgd Exp $ +# $NetBSD: Makefile,v 1.20 1999/02/13 02:54:21 lukem Exp $ +# @(#)Makefile 8.1 (Berkeley) 5/31/93 + +.include 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 +MAN= monop.6 HIDEGAME=hidegame CLEANFILES+=initdeck cards.pck +.if ${MKSHARE} != "no" +FILES=cards.pck +FILESDIR=/usr/share/games +.endif monop: cards.pck -cards.pck: initdeck - ./initdeck ${.CURDIR}/cards.inp - initdeck: initdeck.c - ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD} + ${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c -beforeinstall: - install -c -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \ - ${DESTDIR}/usr/share/games +cards.pck: initdeck + ${.OBJDIR}/initdeck ${.CURDIR}/cards.inp .include