Allow this to be cross-compiled.

This commit is contained in:
thorpej 1997-04-19 06:59:34 +00:00
parent b6c41d0d18
commit bb38208013
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1995/03/21 12:04:53 cgd Exp $
# $NetBSD: Makefile,v 1.4 1997/04/19 06:59:34 thorpej Exp $
# @(#)Makefile 8.1 (Berkeley) 6/12/93
PROG= adventure
@ -12,6 +12,6 @@ data.c: glorkz setup
./setup ${.CURDIR}/glorkz > data.c
setup: setup.c hdr.h
${CC} -o setup ${.CURDIR}/setup.c
${HOST_CC} -o setup ${.CURDIR}/setup.c
.include <bsd.prog.mk>

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.2 1995/03/21 12:14:47 cgd Exp $
# $NetBSD: Makefile,v 1.3 1997/04/19 07:08:39 thorpej Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
PROG= mkdict
CFLAGS+=-I${.CURDIR}/../boggle
NOMAN=noman
HOST_CFLAGS+=-I${.CURDIR}/../boggle
install:
mkdict: ${.CURDIR}/mkdict.c ${.CURDIR}/../boggle/bog.h
${HOST_COMPILE.c} ${.CURDIR}/mkdict.c
${HOST_LINK.c} -o ${.TARGET} mkdict.o
.include <bsd.prog.mk>
.include <bsd.sys.mk>