summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-04 08:39:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-04 08:39:58 +0000
commita376fd509747d1284d7168dab510d5d9395424fb (patch)
tree230c8e39f72e9547959cefb8611a61e84431df55 /usr.bin
parent299d16dcefe7d2df4e7a24f3f27315966f005dae (diff)
generate the parser directly instead of fucking around
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/m4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile
index a6ee09cc17e..75e0562a5f9 100644
--- a/usr.bin/m4/Makefile
+++ b/usr.bin/m4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2017/06/17 01:55:16 bcallah Exp $
+# $OpenBSD: Makefile,v 1.15 2017/07/04 08:39:57 espie Exp $
# -DEXTENDED
# if you want the paste & spaste macros.
@@ -15,7 +15,7 @@ SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c tokenizer.l parser.y
MAN= m4.1
parser.c parser.h: parser.y
- ${YACC} -d ${.ALLSRC} && mv y.tab.c parser.c && mv y.tab.h parser.h
+ ${YACC} -o parser.c -d ${.ALLSRC}
tokenizer.o: parser.h