From: Ben Gras Date: Wed, 17 Nov 2010 14:27:23 +0000 (+0000) Subject: Updated some CLEANFILES macros in Makefiles. X-Git-Tag: v3.2.0~745 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=f3e1b1c22664f6bc38595c86876cce064acc7607;p=minix.git Updated some CLEANFILES macros in Makefiles. --- diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index dcc6fba72..751d4879b 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -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 diff --git a/kernel/Makefile b/kernel/Makefile index bde3be848..12eef69e3 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -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