summaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-06-16 10:25:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-06-16 10:25:55 +0000
commit56378216a7af80d25a92bc732333cdbb3b757a4b (patch)
treee40a86d869bb7c558e18d5835a0031e79f2191c5 /usr.bin/awk
parentd190add5fb2fe18a8fb100112fb73d1cfe314c9d (diff)
mark files as BUILDFIRST, or write explicit dependencies, so that most
programs will build even without a make depend first. okay tb@ millert@
Diffstat (limited to 'usr.bin/awk')
-rw-r--r--usr.bin/awk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 66601474909..8f2cc66a976 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2013/08/18 22:06:44 miod Exp $
+# $OpenBSD: Makefile,v 1.15 2017/06/16 10:25:54 espie Exp $
PROG= awk
SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
@@ -13,6 +13,8 @@ ytab.c ytab.h: awkgram.y
mv y.tab.c ytab.c
mv y.tab.h ytab.h
+BUILDFIRST = ytab.h
+
proctab.c: maketab
./maketab >proctab.c