Deleted Added
full compact
bsd.obj.mk (18373) bsd.obj.mk (18426)
1# $Id: bsd.obj.mk,v 1.9 1996/09/18 06:09:17 swallace Exp $
1# $Id: bsd.obj.mk,v 1.10 1996/09/19 06:58:26 peter Exp $
2#
3# The include file <bsd.obj.mk> handles creating 'obj' directory
4# and cleaning up object files, log files etc.
5#
6#
7# +++ variables +++
8#
9# CLEANFILES Additional files to remove for the clean and cleandir targets.

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

95 fi
96.endif
97
98#
99# where would that obj directory be?
100#
101.if !target(whereobj)
102whereobj:
2#
3# The include file <bsd.obj.mk> handles creating 'obj' directory
4# and cleaning up object files, log files etc.
5#
6#
7# +++ variables +++
8#
9# CLEANFILES Additional files to remove for the clean and cleandir targets.

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

95 fi
96.endif
97
98#
99# where would that obj directory be?
100#
101.if !target(whereobj)
102whereobj:
103.if defined(NOOBJ)
104 @echo ${.CURDIR}
105.else
106 @if ! test -d ${CANONICALOBJDIR}; then \
107 echo ${.CURDIR}; \
108 else \
109 echo ${CANONICALOBJDIR}; \
110 fi
103 @cd ${.CURDIR}; ${MAKE} -V .OBJDIR
111.endif
104.endif
112.endif
113
114#
115# cleanup
116#
117cleanobj:
118 @if [ -d ${CANONICALOBJDIR} ]; then \
119 rm -rf ${CANONICALOBJDIR}; \
120 else \

--- 22 unchanged lines hidden ---
105
106#
107# cleanup
108#
109cleanobj:
110 @if [ -d ${CANONICALOBJDIR} ]; then \
111 rm -rf ${CANONICALOBJDIR}; \
112 else \

--- 22 unchanged lines hidden ---