-# $NetBSD: Makefile,v 1.25 2003/10/19 04:45:01 lukem Exp $
+# $NetBSD: Makefile,v 1.27 2003/11/16 14:14:18 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
morg.c print.c prop.c rent.c roll.c spec.c trade.c
MAN= monop.6
HIDEGAME=hidegame
-CLEANFILES+=initdeck cards.pck
+CLEANFILES+=initdeck initdeck.lo cards.pck
.if ${MKSHARE} != "no"
FILES=cards.pck
FILESDIR=/usr/share/games
realall: ${FILES}
-initdeck: initdeck.c
- ${_MKMSGLINK}
- ${_MKCMD}\
- ${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c
+initdeck: initdeck.lo
+ ${_MKTARGET_LINK}
+ ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
cards.pck: initdeck
- ${_MKMSGCREATE}
- ${_MKCMD}\
+ ${_MKTARGET_CREATE}
./initdeck ${.CURDIR}/cards.inp
.include <bsd.prog.mk>