summaryrefslogtreecommitdiffstats
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-29 05:08:21 +0000
committerpeter <peter@FreeBSD.org>1996-10-29 05:08:21 +0000
commit18d85d85c16f304a9e70b449a964315264966f9f (patch)
tree63ad7c36326880ebde6a6fcc1d6594eb6b10c89b /usr.bin/lex
parent752546ffba2be9ad00a507cd861fafac0163c3c6 (diff)
downloadFreeBSD-src-18d85d85c16f304a9e70b449a964315264966f9f.zip
FreeBSD-src-18d85d85c16f304a9e70b449a964315264966f9f.tar.gz
Clean up some loose ends on my previous work in here..
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index 302eeaf..192bdfb 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)
OpenPOWER on IntegriCloud