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/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F317%2F1;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