Use -o (output to file) instead of -t (print to stdout) and a redirect.

MFC after:	1 week
This commit is contained in:
des 2014-07-19 14:26:04 +00:00
parent f181a08264
commit 5b368a17f8

View File

@ -82,7 +82,7 @@ ${_S:R}.o: ${_S}
.for _LSRC in ${SRCS:M*.l:N*/*}
.for _LC in ${_LSRC:R}.c
${_LC}: ${_LSRC}
${LEX} -t ${LFLAGS} ${.ALLSRC} > ${.TARGET}
${LEX} ${LFLAGS} -o ${.TARGET} ${.ALLSRC}
.if !exists(${.OBJDIR}/${DEPENDFILE})
${_LC:R}.o: ${_LC}
.endif