From 1f27f8e4c6173ee16c51cca5f58d45b29c6799bd Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 28 Apr 1997 23:46:19 +0000 Subject: Allow boggle to be cross-compiled; the mkdict and mkindex programs are used only by the hosting system. --- boggle/mkdict/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'boggle/mkdict') diff --git a/boggle/mkdict/Makefile b/boggle/mkdict/Makefile index 02f2f584..6ac4d5f9 100644 --- a/boggle/mkdict/Makefile +++ b/boggle/mkdict/Makefile @@ -1,10 +1,20 @@ -# $NetBSD: Makefile,v 1.4 1997/04/19 07:13:49 thorpej Exp $ +# $NetBSD: Makefile,v 1.5 1997/04/28 23:46:19 thorpej Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 PROG= mkdict +HOST_CFLAGS+=-I${.CURDIR}/../boggle +NOMAN= noman + +# XXX for "make depend" CFLAGS+=-I${.CURDIR}/../boggle -NOMAN=noman install: +# Override these rules for cross-compilation +.c.o: + ${HOST_COMPILE.c} ${.IMPSRC} + +${PROG}: ${OBJS} + ${HOST_LINK.c} -o ${.TARGET} ${OBJS} + .include -- cgit v1.2.3-56-ge451