]> Zhao Yanbai Git Server - minix.git/commitdiff
ramdisk Makefile: CLEANFILES fix 17/317/1
authorBen Gras <ben@minix3.org>
Thu, 7 Feb 2013 22:08:37 +0000 (23:08 +0100)
committerBen Gras <ben@minix3.org>
Thu, 7 Feb 2013 22:09:18 +0000 (23:09 +0100)
drivers/ramdisk/Makefile

index 7960461cf5b198c5a46939f663133f4f4d647a37..450a21b690a775178620e60de7cd4ea7936727dc 100644 (file)
@@ -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