Simplify.
This commit is contained in:
parent
cd84452b4c
commit
d9a3cc43b7
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user