Module Name:    src
Committed By:   christos
Date:           Mon Oct  2 22:32:04 UTC 2017

Modified Files:
        src/tools/lex: Makefile

Log Message:
Simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tools/lex/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/lex/Makefile
diff -u src/tools/lex/Makefile:1.9 src/tools/lex/Makefile:1.10
--- src/tools/lex/Makefile:1.9	Thu Oct 29 20:30:20 2009
+++ src/tools/lex/Makefile	Mon Oct  2 18:32:04 2017
@@ -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 @@ HOST_CPPFLAGS+=	-DM4=\"${TOOL_M4}\"
 .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
 

Reply via email to