diff options
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 08eaa8999c09..cd2d9a6bf7f5 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1082,9 +1082,10 @@ _cleanobj: .if defined(_LIBCOMPAT) ${_+_}cd ${.CURDIR}; ${LIBCOMPATWMAKE} _NO_INCLUDE_COMPILERMK=t -f Makefile.inc1 ${CLEANDIR} .endif -.else - ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack .endif # !defined(NO_CLEAN) + # XXX make cleandir left stale .depend files behind, so invoke the + # dependency cleanup hack unconditionally. + ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack _obj: @echo @echo "--------------------------------------------------------------" |