Use -o (output to file) instead of -t (print to stdout) and a redirect.
MFC after: 1 week
This commit is contained in:
parent
0e89acf4b4
commit
8f812fec9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268877
@ -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