diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-09 01:33:41 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-09 01:33:41 +0000 |
commit | 81fdb1c9d870ea7675764665befe8112a17eaa0a (patch) | |
tree | 4176753b70939297e9c4b7a50332f4d943bf6085 /games/fortune | |
parent | 6e59b9fd41c9f93eca7367bfbec065c8eddf8444 (diff) |
Rudimentary support for compilation in a cross environment
Host tools will be compiled with HOSTCC instead of CC.
Note, these are not complete in *any* way\!
Diffstat (limited to 'games/fortune')
-rw-r--r-- | games/fortune/strfile/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/games/fortune/strfile/Makefile b/games/fortune/strfile/Makefile index a8847445274..f1e40ad15ad 100644 --- a/games/fortune/strfile/Makefile +++ b/games/fortune/strfile/Makefile @@ -1,7 +1,15 @@ +# $OpenBSD: Makefile,v 1.2 1996/03/09 01:33:26 niklas Exp $ # $NetBSD: Makefile,v 1.5 1995/03/23 08:28:44 cgd Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -PROG= strfile +PROG= MAN= strfile.8 +CLEANFILES+= strfile + +all: strfile + +strfile: ${.CURDIR}/strfile.c + ${HOSTCC} ${CFLAGS} ${.CURDIR}/strfile.c -o $@ + .include <bsd.prog.mk> |