From 91b91eeff22f7f46b23b8035bc7d052274de63e6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 5 Jan 1997 08:17:31 +0000 Subject: [PATCH] HOSTCC; from rahnds --- bin/sh/Makefile | 6 +++--- lib/libtermlib/Makefile | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/sh/Makefile b/bin/sh/Makefile index eb2bf208bd9..37102a73cf4 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 1996/10/20 00:54:41 millert Exp $ +# $OpenBSD: Makefile,v 1.8 1997/01/05 08:17:31 deraadt Exp $ # $NetBSD: Makefile,v 1.23 1996/02/18 12:29:18 mycroft Exp $ STATIC= -static @@ -37,12 +37,12 @@ nodes.c nodes.h: mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat ./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat mknodes: ${.CURDIR}/mknodes.c - ${CC} ${CFLAGS} ${.CURDIR}/mknodes.c -o $@ + ${HOSTCC} ${CFLAGS} ${.CURDIR}/mknodes.c -o $@ syntax.c syntax.h: mksyntax ./mksyntax mksyntax: ${.CURDIR}/mksyntax.c ${.CURDIR}/parser.h - ${CC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@ + ${HOSTCC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@ .include diff --git a/lib/libtermlib/Makefile b/lib/libtermlib/Makefile index 56107c9ba0d..be04534d522 100644 --- a/lib/libtermlib/Makefile +++ b/lib/libtermlib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1996/12/08 15:22:33 downsj Exp $ +# $OpenBSD: Makefile,v 1.6 1997/01/05 08:22:05 deraadt Exp $ # # Copyright (c) 1996 SigmaSoft, Th. Lockert # All rights reserved. @@ -74,4 +74,7 @@ includes: ${HDRS} .include +mkinfo: mkinfo.c + ${HOSTCC} ${CFLAGS} -I${.CURDIR} -o mkinfo $> + .depend: mkinfo.c -- 2.20.1