summaryrefslogtreecommitdiff
path: root/usr.bin/awk/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-10 21:30:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-10 21:30:38 +0000
commit433b9801a13f7ac0c037774a9dd8955c42ea88dc (patch)
tree797e7db1db0ede7ed555d794dbb73ebf13693a30 /usr.bin/awk/Makefile
parent8776829ca3b5bc98f5ee9ae331aa2d67c120b5f6 (diff)
remove misc. depend and yacc nits that no longer matter.
okay millert@
Diffstat (limited to 'usr.bin/awk/Makefile')
-rw-r--r--usr.bin/awk/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 8f2cc66a976..352d521f799 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/10 21:30:37 espie Exp $
PROG= awk
SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
@@ -9,9 +9,7 @@ CFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
HOSTCFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
ytab.c ytab.h: awkgram.y
- ${YACC} -d ${.CURDIR}/awkgram.y
- mv y.tab.c ytab.c
- mv y.tab.h ytab.h
+ ${YACC} -o ytab.c -d ${.CURDIR}/awkgram.y
BUILDFIRST = ytab.h