]> Zhao Yanbai Git Server - minix.git/commitdiff
Updated some CLEANFILES macros in Makefiles.
authorBen Gras <ben@minix3.org>
Wed, 17 Nov 2010 14:27:23 +0000 (14:27 +0000)
committerBen Gras <ben@minix3.org>
Wed, 17 Nov 2010 14:27:23 +0000 (14:27 +0000)
drivers/ramdisk/Makefile
kernel/Makefile

index dcc6fba7286da4dcb9d44a22196e0a6c171f61c5..751d4879b97f66a9778bae9aa6eb5f9783311cd6 100644 (file)
@@ -12,14 +12,12 @@ EXTRA=system.conf passwd rs.single
 
 CPPFLAGS+= -I${MINIXSRCDIR}/servers -I${MINIXSRCDIR}
 MAKEDEV=/usr/bin/MAKEDEV
+CLEANFILES += $(PROGRAMS) $(EXTRA) bintoc image image.c t proto.gen
 
 install: all
 
 all:   image.c
 
-clean:
-       rm -rf $(PROGRAMS) $(EXTRA) bintoc image image.c t proto.gen
-
 image.c:       bintoc image
        ./bintoc -o $@ image
 
index bde3be848f66b37078406b850499e22211d96572..12eef69e37f1a25a7d14e887ce58260a52e699ce 100644 (file)
@@ -42,6 +42,8 @@ MAN=
 
 debug.d: extracted-errno.h extracted-mfield.h extracted-mtype.h
 
+CLEANFILES+=extracted-errno.h extracted-mfield.h extracted-mtype.h
+
 extracted-errno.h: extract-errno.sh ../include/errno.h
        ${_MKTARGET_CREATE}
        cd ${.CURDIR} ; sh extract-errno.sh > ${.OBJDIR}/extracted-errno.h