summaryrefslogtreecommitdiffstats
path: root/monop/Makefile
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-11-16 14:14:18 +0000
committerlukem <lukem@NetBSD.org>2003-11-16 14:14:18 +0000
commit54c7964842a3a322ca3e7867485513837f58b811 (patch)
tree647b9bbd42f0b7af5a7252951053db199df23b20 /monop/Makefile
parent256f707bed350efdfd37b8c4b91efffa7afbbf55 (diff)
downloadbsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.tar.gz
bsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.tar.zst
bsdgames-darwin-54c7964842a3a322ca3e7867485513837f58b811.zip
Improve how various "simple" host tools are built and invoked.
Diffstat (limited to 'monop/Makefile')
-rw-r--r--monop/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/monop/Makefile b/monop/Makefile
index 8197de30..01d6dbab 100644
--- a/monop/Makefile
+++ b/monop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2003/10/21 10:01:19 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>
@@ -8,7 +8,7 @@ SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c malloc.c misc.c \
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
@@ -16,9 +16,9 @@ FILESDIR=/usr/share/games
realall: ${FILES}
-initdeck: initdeck.c
+initdeck: initdeck.lo
${_MKTARGET_LINK}
- ${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c
+ ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
cards.pck: initdeck
${_MKTARGET_CREATE}