1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

Clean up some loose ends on my previous work in here..

This commit is contained in:
Peter Wemm 1996-10-29 05:08:21 +00:00
parent 62875fe88b
commit accc8b5dba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19245

View File

@ -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)