summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
commit97fe7f477fc469b6a75596f47dc98a08e4ed3e13 (patch)
tree55baa49e3efb3c9fd481116b6e7a5d7232c58445 /usr.bin/lex
parentc63ba9f5ae735a804cb29cef14222f9fb1958922 (diff)
Notes
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index 63f36e93c212..a63599f46bb9 100644
--- a/usr.bin/lex/Makefile
+++ b/usr.bin/lex/Makefile
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Makefile,v 1.10 1997/02/22 19:55:34 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
@@ -15,6 +15,7 @@ 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.c \
+ parse.h \
skel.c sym.c tblcmp.c yylex.c
LFLAGS+= -is
CFLAGS+= -I. -I${.CURDIR}
@@ -34,6 +35,7 @@ beforeinstall:
${.CURDIR}/FlexLexer.h ${DESTDIR}/usr/include/g++
+.ORDER: parse.c parse.h
parse.c parse.h: parse.y
$(YACC) -d $(.CURDIR)/parse.y
mv -f y.tab.c parse.c
@@ -46,7 +48,6 @@ bootstrap: initscan.c
cp -f ${.CURDIR}/initscan.c scan.c ; \
}
-beforedepend: parse.h
scan.o: parse.h
test: check