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/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 40aa292f19c..4cac064ba52 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 1996/10/12 10:25:42 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1997/01/24 23:11:29 millert Exp $
PROG= awk
LINKS= ${BINDIR}/awk ${BINDIR}/nawk
-SRCS= awkgram.c awklex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
+SRCS= awkgram.c lexyy.c b.c main.c parse.c proctab.c tran.c lib.c run.c
LDADD= -ll -lm
DPADD= ${LIBL} ${LIBM}
-CLEANFILES+=awkgram.c awkgram.h awklex.c awklex.h proctab.c maketab prevawkgram.h
+CLEANFILES+=awkgram.c awkgram.h proctab.c maketab prevawkgram.h
CFLAGS+=-I. -I${.CURDIR}
MLINKS= awk.1 nawk.1
@@ -15,10 +15,6 @@ awkgram.c awkgram.h prevawkgram.h: awkgram.y
mv y.tab.h awkgram.h
cmp -s awkgram.h prevawkgram.h || cp awkgram.h prevawkgram.h
-awklex.c: awklex.l
- lex ${.IMPSRC}
- mv lex.yy.c awklex.c
-
proctab.c: maketab
./maketab >proctab.c