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 ++++++++++++-- boggle/mkindex/Makefile | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) (limited to 'boggle') 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 diff --git a/boggle/mkindex/Makefile b/boggle/mkindex/Makefile index 669918da..ce063f94 100644 --- a/boggle/mkindex/Makefile +++ b/boggle/mkindex/Makefile @@ -1,10 +1,20 @@ -# $NetBSD: Makefile,v 1.2 1995/03/21 12:14:51 cgd Exp $ +# $NetBSD: Makefile,v 1.3 1997/04/28 23:46:20 thorpej Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 PROG= mkindex +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