summaryrefslogtreecommitdiff
path: root/usr.bin/awk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/awk/Makefile')
-rw-r--r--usr.bin/awk/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 54857d3010f..289b91de847 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,20 +1,17 @@
-# $OpenBSD: Makefile,v 1.11 2010/08/25 19:21:04 deraadt Exp $
+# $OpenBSD: Makefile,v 1.12 2012/12/21 08:50:27 espie Exp $
PROG= awk
SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
LDADD= -lm
DPADD= ${LIBM}
-CLEANFILES+=proctab.c maketab ytab.c ytab.h stamp_tabs
+CLEANFILES+=proctab.c maketab ytab.c ytab.h
CFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
HOSTCFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
-stamp_tabs: awkgram.y
+ytab.c ytab.h: awkgram.y
${YACC} -d ${.CURDIR}/awkgram.y
mv y.tab.c ytab.c
mv y.tab.h ytab.h
- touch $@
-
-ytab.c ytab.h: stamp_tabs
proctab.c: maketab
./maketab >proctab.c