-# $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
./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 <bsd.prog.mk>
-# $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 <tholo@sigmasoft.com>
# All rights reserved.
.include <bsd.lib.mk>
+mkinfo: mkinfo.c
+ ${HOSTCC} ${CFLAGS} -I${.CURDIR} -o mkinfo $>
+
.depend: mkinfo.c