diff --git a/kernel/Makefile b/kernel/Makefile index bea51f22c..ae199c5ec 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -37,13 +37,16 @@ MAN= debug.d: extracted-errno.h extracted-mfield.h extracted-mtype.h extracted-errno.h: extract-errno.sh ../include/errno.h - sh extract-errno.sh > extracted-errno.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-errno.sh > ${.OBJDIR}/extracted-errno.h extracted-mfield.h: extract-mfield.sh ../lib/libc/other/*.c ../lib/libc/posix/*.c ../lib/libsys/*.c - sh extract-mfield.sh > extracted-mfield.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-mfield.sh > ${.OBJDIR}/extracted-mfield.h extracted-mtype.h: extract-mtype.sh ../include/minix/com.h - sh extract-mtype.sh > extracted-mtype.h + ${_MKTARGET_CREATE} + cd ${.CURDIR} ; sh extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h clean: rm -f extracted-errno.h extracted-mfield.h extracted-mtype.h