Deleted Added
sdiff udiff text old ( 124061 ) new ( 128188 )
full compact
1# $FreeBSD: head/share/mk/bsd.obj.mk 124061 2004-01-02 05:05:48Z green $
2#
3# The include file <bsd.obj.mk> handles creating the 'obj' directory
4# and cleaning up object files, etc.
5#
6# +++ variables +++
7#
8# CLEANDIRS Additional directories to remove for the clean target.
9#

--- 63 unchanged lines hidden (view full) ---

73.elif exists(${.CURDIR}/obj.${MACHINE}/) || exists(${.CURDIR}/obj/)
74 @${ECHO} "Warning: Using ${.OBJDIR} as object directory instead of\
75 canonical ${CANONICALOBJDIR}"
76.endif
77.endif
78
79.if !defined(NOOBJ)
80.if !target(obj)
81obj:
82 @if ! test -d ${CANONICALOBJDIR}/; then \
83 mkdir -p ${CANONICALOBJDIR}; \
84 if ! test -d ${CANONICALOBJDIR}/; then \
85 ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \
86 exit 1; \
87 fi; \
88 ${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \
89 fi

--- 44 unchanged lines hidden ---