summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-03-08 19:25:32 +0000
committerplunky <plunky@NetBSD.org>2011-03-08 19:25:32 +0000
commitb6fa738cc146963c3cd57a8da0083b7df28fa2be (patch)
treec3c3eee5a370cc40fafb1e6b287f8096814de7ae
parentd9775c6d1159b37f1345863d5b2fcec38ae804d4 (diff)
source files are scan.l and parse.y
in particular, parse.y was being processed twice.. with one process leaving a y.tab.h file behind no need to explicitly add scan.c, parse.c and parse.h to CLEANFILES, the framework knows they are generated and will remove them
-rw-r--r--external/bsd/flex/bin/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/external/bsd/flex/bin/Makefile b/external/bsd/flex/bin/Makefile
index 42dc6d04e98..b29645c2c52 100644
--- a/external/bsd/flex/bin/Makefile
+++ b/external/bsd/flex/bin/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
-# $NetBSD: Makefile,v 1.8 2010/04/07 16:14:35 christos Exp $
+# $NetBSD: Makefile,v 1.9 2011/03/08 19:25:32 plunky 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
@@ -25,9 +25,9 @@ main.c \
misc.c \
nfa.c \
options.c \
-parse.c \
+parse.y \
regex.c \
-scan.c \
+scan.l \
scanflags.c \
scanopt.c \
skel.c \
@@ -38,7 +38,7 @@ tblcmp.c \
yylex.c
YHEADER=1
-CLEANFILES+=scan.c skel.c parse.c parse.h
+CLEANFILES+=skel.c
INCS =FlexLexer.h
INCSDIR=/usr/include/g++
LDADD+=-lm