From accc8b5dba17857caca549fd14a8e881cfbd9aea Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 29 Oct 1996 05:08:21 +0000 Subject: [PATCH] Clean up some loose ends on my previous work in here.. --- usr.bin/lex/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile index 302eeafe49cc..192bdfbf1480 100644 --- a/usr.bin/lex/Makefile +++ b/usr.bin/lex/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.6 1996/08/07 13:25:59 peter Exp $ +# $Id: Makefile,v 1.7 1996/09/19 05:21:07 peter Exp $ # # By default, flex will be configured to generate 8-bit scanners only if the # -8 flag is given. If you want it to always generate 8-bit scanners, add @@ -14,7 +14,7 @@ LINKS+= ${BINDIR}/lex ${BINDIR}/lex++ LINKS+= ${BINDIR}/lex ${BINDIR}/flex LINKS+= ${BINDIR}/lex ${BINDIR}/flex++ -SRCS= scan.c ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y \ +SRCS= scan.c ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c \ skel.c sym.c tblcmp.c yylex.c LFLAGS+= -is CFLAGS+= -I. -I${.CURDIR} @@ -33,7 +33,6 @@ beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/FlexLexer.h ${DESTDIR}/usr/include/g++ -.depend: parse.h parse.c parse.h: parse.y $(YACC) -d $(.CURDIR)/parse.y @@ -47,7 +46,8 @@ bootstrap: initscan.c cp -f ${.CURDIR}/initscan.c scan.c ; \ } -scan.o: parse.c +beforedepend: parse.h +scan.o: parse.h test: check check: $(PROG)