... and do it make(1) way.
This commit is contained in:
parent
c27ec88714
commit
d79f28bba4
@ -97,11 +97,11 @@ whereobj:
|
||||
.endif
|
||||
|
||||
cleanobj:
|
||||
@if [ "${CANONICALOBJDIR}" != "${.CURDIR}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
||||
rm -rf ${CANONICALOBJDIR}; \
|
||||
else \
|
||||
cd ${.CURDIR} && ${MAKE} clean cleandepend; \
|
||||
fi
|
||||
.if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/)
|
||||
@rm -rf ${CANONICALOBJDIR}
|
||||
.else
|
||||
@cd ${.CURDIR} && ${MAKE} clean cleandepend
|
||||
.endif
|
||||
@if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
|
||||
|
||||
.if !target(clean)
|
||||
|
Loading…
Reference in New Issue
Block a user