... and do it make(1) way.

This commit is contained in:
Ruslan Ermilov 2001-04-26 11:14:50 +00:00
parent c27ec88714
commit d79f28bba4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76021

View File

@ -97,11 +97,11 @@ whereobj:
.endif .endif
cleanobj: cleanobj:
@if [ "${CANONICALOBJDIR}" != "${.CURDIR}" -a -d ${CANONICALOBJDIR}/ ]; then \ .if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/)
rm -rf ${CANONICALOBJDIR}; \ @rm -rf ${CANONICALOBJDIR}
else \ .else
cd ${.CURDIR} && ${MAKE} clean cleandepend; \ @cd ${.CURDIR} && ${MAKE} clean cleandepend
fi .endif
@if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi @if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
.if !target(clean) .if !target(clean)