summaryrefslogtreecommitdiffstats
path: root/fortune/strfile/Makefile
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-04-28 23:53:25 +0000
committerthorpej <thorpej@NetBSD.org>1997-04-28 23:53:25 +0000
commit38597c2f2901170018fe3fba1134e905472e1747 (patch)
treeda3747b9c8f0cf73d808e771b2862fd42bc7bdad /fortune/strfile/Makefile
parent4d8481c23aba7cad1083bb7609bd3abdb5ac2c3a (diff)
downloadbsdgames-darwin-38597c2f2901170018fe3fba1134e905472e1747.tar.gz
bsdgames-darwin-38597c2f2901170018fe3fba1134e905472e1747.tar.zst
bsdgames-darwin-38597c2f2901170018fe3fba1134e905472e1747.zip
Allow this to be cross-compiled (in a manner consistent with boggle's
host-only helper programs).
Diffstat (limited to 'fortune/strfile/Makefile')
-rw-r--r--fortune/strfile/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/fortune/strfile/Makefile b/fortune/strfile/Makefile
index a8847445..4ff76509 100644
--- a/fortune/strfile/Makefile
+++ b/fortune/strfile/Makefile
@@ -1,7 +1,16 @@
-# $NetBSD: Makefile,v 1.5 1995/03/23 08:28:44 cgd Exp $
+# $NetBSD: Makefile,v 1.6 1997/04/28 23:53:25 thorpej Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= strfile
MAN= strfile.8
+install:
+
+# Override these rules for cross-compilation
+.c.o:
+ ${HOST_COMPILE.c} ${.IMPSRC}
+
+${PROG}: ${OBJS}
+ ${HOST_LINK.c} -o ${.TARGET} ${OBJS}
+
.include <bsd.prog.mk>