From: Ben Gras Date: Thu, 7 Feb 2013 22:08:37 +0000 (+0100) Subject: ramdisk Makefile: CLEANFILES fix X-Git-Tag: v3.2.1~23 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=46e7c7a92083f01ba6d0104cd14a81bc377c4b5b;p=minix.git ramdisk Makefile: CLEANFILES fix --- diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index 7960461cf..450a21b69 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -105,8 +105,8 @@ ${etc}: ${NETBSDSRCDIR}/etc/${etc} # we are building out-of-tree and the contents should be copied # unconditionally in case the contents have changed after the first copy. .if ${.CURDIR} != ${.OBJDIR} -CLEANFILES += ${EXTRA} ${PROTO} ${PROTO_FILES} .for file in ${EXTRA} ${PROTO} ${PROTO_FILES} +CLEANFILES += ${.OBJDIR}/${file} ${file}: ${NETBSDSRCDIR}/drivers/ramdisk/${file} .PHONY ${INSTALL} $> $@ .endfor