diff options
author | wrstuden <wrstuden@NetBSD.org> | 1998-09-12 19:05:48 +0000 |
---|---|---|
committer | wrstuden <wrstuden@NetBSD.org> | 1998-09-12 19:05:48 +0000 |
commit | c45b2876db76b5788e827bc55bbb016c89a1b476 (patch) | |
tree | 677a7dae400caa13d9c28f1eeab7ac662bc23b54 | |
parent | b20964286b4703b6cabd3b6c981ff841e2b045e5 (diff) | |
download | bsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.tar.gz bsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.tar.zst bsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.zip |
Make the helper programs compile right in a cross-compiling environment.
-rw-r--r-- | hack/Makefile | 5 | ||||
-rw-r--r-- | monop/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/hack/Makefile b/hack/Makefile index 4159352c..66baa586 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 1997/11/20 08:52:16 mrg Exp $ +# $NetBSD: Makefile,v 1.28 1998/09/12 19:05:48 wrstuden Exp $ # @(#)Makefile 8.2 (Berkeley) 4/27/95 PROG= hack @@ -27,6 +27,9 @@ FILESDIR=/var/games/hackdir hack.onames.h: makedefs def.objects.h ${.OBJDIR}/makedefs ${.CURDIR}/def.objects.h > hack.onames.h +makedefs: makedefs.c + ${HOST_LINK.c} -o makedefs ${.CURDIR}/makedefs.c + hack.h: hack.onames.h alloc.o hack.Decl.o hack.apply.o hack.bones.o hack.o hack.cmd.o hack.do.o \ diff --git a/monop/Makefile b/monop/Makefile index 52f3fbda..1030635f 100644 --- a/monop/Makefile +++ b/monop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1997/10/12 17:45:06 christos Exp $ +# $NetBSD: Makefile,v 1.18 1998/09/12 19:05:48 wrstuden Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= monop @@ -12,6 +12,9 @@ FILESDIR=/usr/share/games monop: cards.pck +initdeck: initdeck.c + ${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c + cards.pck: initdeck ${.OBJDIR}/initdeck ${.CURDIR}/cards.inp |