Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/lex Simplify.
details: https://anonhg.NetBSD.org/src/rev/edfdd27b3102
branches: trunk
changeset: 356563:edfdd27b3102
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 02 22:32:04 2017 +0000
description:
Simplify.
diffstat:
tools/lex/Makefile | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (29 lines):
diff -r d10dcd805dad -r edfdd27b3102 tools/lex/Makefile
--- a/tools/lex/Makefile Mon Oct 02 22:21:31 2017 +0000
+++ b/tools/lex/Makefile Mon Oct 02 22:32:04 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/10/30 00:30:20 christos Exp $
+# $NetBSD: Makefile,v 1.10 2017/10/02 22:32:04 christos Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}lex
HOST_SRCDIR= external/bsd/flex/bin
@@ -9,12 +9,13 @@
.y.c .l.c .y.h:
@true
-scan.c:
- echo '#include <initscan.c>' >$@
-parse.c:
- echo '#include <initparse.c>' >$@
-parse.h:
- echo '#include <initparse.h>' >$@
+
+__BUILD: .USE
+ echo "#include <init${.TARGET}>" > ${.TARGET}
+
+scan.c: __BUILD
+parse.c: __BUILD
+parse.h: __BUILD
scan.c: parse.h
Home |
Main Index |
Thread Index |
Old Index