aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-03-06 23:04:46 +0100
committerDuncaen <mail@duncano.de>2017-03-06 23:04:46 +0100
commita2e78191ce4f9e3cdfa6a24ed2bf15d43d1c8602 (patch)
tree8158f054f82cb8e8e3f8a13023808bb97a9d922d
parenteb641d3e999b8997ee2ddc316500f935b081f02d (diff)
downloadlobase-a2e78191ce4f9e3cdfa6a24ed2bf15d43d1c8602.tar.gz
usr.bin/awk: fix parallel builds
-rw-r--r--usr.bin/awk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 8d8df25..04b3586 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -9,9 +9,13 @@ CFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
HOSTCFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
CPPFLAGS+=-D_GNU_SOURCE
-ytab.c ytab.h: awkgram.y
+lex.o b.o main.o tran.o run.o parse.o lib.o : ytab.h
+
+ytab.c: awkgram.y
${YACC} -d ${.CURDIR}/awkgram.y
mv y.tab.c ytab.c
+
+ytab.h: ytab.c
mv y.tab.h ytab.h
proctab.c: maketab