summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-12-21 08:50:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-12-21 08:50:28 +0000
commit3383500a588173e0d4315551d05a352e39861694 (patch)
treeed70c12c0fe75d66f0c03ae7ca2eb576637f270c /usr.bin
parenta35e820400998b878e37bfd59b64a8525b00e462 (diff)
remove makefile hacks that are no longer needed with t1 t2: working properly
okay krw@
Diffstat (limited to 'usr.bin')
-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