From 948c64e848aa045e7788a9f213841828bc4a1737 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 4 Jul 2017 08:39:57 +0000 Subject: [PATCH] generate the parser directly instead of fucking around --- usr.bin/m4/Makefile | 4 ++-- 1 file 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 -- 2.20.1