This time really fix the machine/lock.h thing. This time don't fool make

into thinking that the way to build a .o file is to "rm -f .depend".

Suggested by:	imp
This commit is contained in:
peter 2001-02-20 09:37:00 +00:00
parent 75a0392d87
commit 9723528fd5

View File

@ -158,7 +158,10 @@ _ILINKS=@ machine
.MAIN: all
all: objwarn ${PROG} all-man _SUBDIR
beforedepend ${OBJS}: ${_ILINKS}
beforedepend: ${_ILINKS}
@rm -f .depend
${OBJS}: ${_ILINKS}
# Search for kernel source tree in standard places.
.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. /sys /usr/src/sys