summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-12 10:25:42 +0000
committerderaadt <deraadt@openbsd.org>1996-10-12 10:25:42 +0000
commit9dbdd840afee5a43b78ee7be7b05b7522039370e (patch)
treefcfcff933787ba1836f29366d3205ce97a294c6e
parent+SYSVSEM/MSG support; netbsd pr#2825, hwr@pilhuhn.de (diff)
downloadwireguard-openbsd-9dbdd840afee5a43b78ee7be7b05b7522039370e.tar.xz
wireguard-openbsd-9dbdd840afee5a43b78ee7be7b05b7522039370e.zip
HOSTCC for maketab; from dale
-rw-r--r--usr.bin/awk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 61aaaeb341f..40aa292f19c 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 1996/07/06 05:40:02 etheisen Exp $
+# $OpenBSD: Makefile,v 1.3 1996/10/12 10:25:42 deraadt Exp $
PROG= awk
LINKS= ${BINDIR}/awk ${BINDIR}/nawk
@@ -22,6 +22,7 @@ awklex.c: awklex.l
proctab.c: maketab
./maketab >proctab.c
-maketab.o: prevawkgram.h
+maketab: prevawkgram.h
+ ${HOSTCC} ${CFLAGS} ${.CURDIR}/maketab.c -o $@
.include <bsd.prog.mk>