Use -o (output to file) instead of -t (print to stdout) and a redirect.
MFC after: 1 week
This commit is contained in:
parent
f181a08264
commit
5b368a17f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user