Find files via .PATH where appropriate.

This commit is contained in:
tv 2001-11-12 19:32:08 +00:00
parent aff1bdffff
commit 2dd7b553d7

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
# $NetBSD: Makefile,v 1.22 2001/09/22 05:39:22 tv Exp $
# $NetBSD: Makefile,v 1.23 2001/11/12 19:32:08 tv 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
@ -30,12 +30,12 @@ LINKS= ${BINDIR}/lex ${BINDIR}/flex \
${BINDIR}/lex ${BINDIR}/flex++
MLINKS= flex.1 lex.1
skel.c: flex.skl mkskel.sh
sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c
skel.c: mkskel.sh flex.skl
sh ${.ALLSRC} >${.TARGET}
.ifndef HOSTPROG
scan.c: scan.l
${LEX} -t -p ${.CURDIR}/scan.l > scan.c
${LEX} -t -p ${.ALLSRC} >${.TARGET}
.endif
scan.o yylex.o: parse.h