Make the helper programs compile right in a cross-compiling environment.

This commit is contained in:
wrstuden 1998-09-12 19:05:48 +00:00
parent 1037acbf7e
commit aaae79a78d
2 changed files with 8 additions and 2 deletions

View File

@ -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 \

View File

@ -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