From c45b2876db76b5788e827bc55bbb016c89a1b476 Mon Sep 17 00:00:00 2001 From: wrstuden Date: Sat, 12 Sep 1998 19:05:48 +0000 Subject: Make the helper programs compile right in a cross-compiling environment. --- hack/Makefile | 5 ++++- 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 -- cgit v1.2.3