From f3e1b1c22664f6bc38595c86876cce064acc7607 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 17 Nov 2010 14:27:23 +0000 Subject: [PATCH] Updated some CLEANFILES macros in Makefiles. --- drivers/ramdisk/Makefile | 4 +--- kernel/Makefile | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.44.0