Fix .ORDER to not conflict with captured dependencies

This commit is contained in:
Simon J. Gerraty 2012-11-08 21:29:59 +00:00
parent a009d2385b
commit 1fc3515c9b

View File

@ -37,7 +37,7 @@ ETSRCS= \
.for ET in ${ETSRCS}
.for _ET in ${ET:T:R}
.if ${SRCS:M${_ET}.[ch]} != ""
.ORDER: ${_ET}.c ${_ET}.h
.ORDER: ${_ET}.h ${_ET}.c
${_ET}.c ${_ET}.h: ${ET}
compile_et ${.ALLSRC}
CLEANFILES+= ${_ET}.h ${_ET}.c