diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-07-09 14:04:51 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-07-09 14:04:51 +0000 |
commit | 421cb020929e64fed3bba5a319c8a215954c3b07 (patch) | |
tree | e36fff7737195bfd599a330a378d921854052034 /usr.bin/m4 | |
parent | 7ff9a1f4db462bd71365b5e27e8f23b55ec69bba (diff) |
have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate
files. This fixes up parallel builds in the default case.
FreeBSD does something similar.
okay millert@
Diffstat (limited to 'usr.bin/m4')
-rw-r--r-- | usr.bin/m4/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile index 75e0562a5f9..acef57584f3 100644 --- a/usr.bin/m4/Makefile +++ b/usr.bin/m4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2017/07/04 08:39:57 espie Exp $ +# $OpenBSD: Makefile,v 1.16 2017/07/09 14:04:50 espie Exp $ # -DEXTENDED # if you want the paste & spaste macros. @@ -14,11 +14,4 @@ DPADD= ${LIBM} ${LIBUTIL} 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} -o parser.c -d ${.ALLSRC} - -tokenizer.o: parser.h - -CLEANFILES+=parser.c parser.h tokenizer.o - .include <bsd.prog.mk> |