short circuit lex and yacc rules.

This commit is contained in:
christos 2009-10-30 00:30:20 +00:00
parent cda999bd86
commit de3c2d224e

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2009/10/29 17:16:40 christos Exp $ # $NetBSD: Makefile,v 1.9 2009/10/30 00:30:20 christos Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}lex HOSTPROGNAME= ${_TOOL_PREFIX}lex
HOST_SRCDIR= external/bsd/flex/bin HOST_SRCDIR= external/bsd/flex/bin
@ -6,6 +6,9 @@ HOST_SRCDIR= external/bsd/flex/bin
.include "${.CURDIR}/../Makefile.host" .include "${.CURDIR}/../Makefile.host"
HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\" HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\"
.y.c .l.c .y.h:
@true
scan.c: scan.c:
echo '#include <initscan.c>' >$@ echo '#include <initscan.c>' >$@
parse.c: parse.c: