summaryrefslogtreecommitdiffstats
path: root/hack/Makefile
diff options
context:
space:
mode:
authorwrstuden <wrstuden@NetBSD.org>1998-09-12 19:05:48 +0000
committerwrstuden <wrstuden@NetBSD.org>1998-09-12 19:05:48 +0000
commitc45b2876db76b5788e827bc55bbb016c89a1b476 (patch)
tree677a7dae400caa13d9c28f1eeab7ac662bc23b54 /hack/Makefile
parentb20964286b4703b6cabd3b6c981ff841e2b045e5 (diff)
downloadbsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.tar.gz
bsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.tar.zst
bsdgames-darwin-c45b2876db76b5788e827bc55bbb016c89a1b476.zip
Make the helper programs compile right in a cross-compiling environment.
Diffstat (limited to 'hack/Makefile')
-rw-r--r--hack/Makefile5
1 files changed, 4 insertions, 1 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 \