diff options
| author | thorpej <thorpej@NetBSD.org> | 1997-04-19 06:59:34 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1997-04-19 06:59:34 +0000 |
| commit | a81ba438a938f0f4261e85627df029fbcd3de073 (patch) | |
| tree | 52df0d4ca6f558c61093ae53f9883c6dd85564c3 | |
| parent | 11d38a5e4617fd29111bf1ff597367c9d234db14 (diff) | |
| download | bsdgames-darwin-a81ba438a938f0f4261e85627df029fbcd3de073.tar.gz bsdgames-darwin-a81ba438a938f0f4261e85627df029fbcd3de073.zip | |
Allow this to be cross-compiled.
| -rw-r--r-- | adventure/Makefile | 4 | ||||
| -rw-r--r-- | boggle/mkdict/Makefile | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/adventure/Makefile b/adventure/Makefile index 8c2df60c..85c820c4 100644 --- a/adventure/Makefile +++ b/adventure/Makefile @@ -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> diff --git a/boggle/mkdict/Makefile b/boggle/mkdict/Makefile index 12347f46..324fea5c 100644 --- a/boggle/mkdict/Makefile +++ b/boggle/mkdict/Makefile @@ -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> |
