summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-12 10:25:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-12 10:25:43 +0000
commit10bf8afe296f2d09fe6da28249e5746650932e30 (patch)
tree70ac115ebd8632c566fd668ab14aa31e6728aa70
parent8221fc3c8fd6eac851d9752566395b326d61b224 (diff)
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>