From: Lionel Sambuc Date: Wed, 6 Mar 2013 12:38:10 +0000 (+0100) Subject: ASH: Fix clean target. X-Git-Tag: v3.3.0~1101 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.html?a=commitdiff_plain;h=ce42c706d2d05fa9454ed4bddaae9eca6a64f63f;p=minix.git ASH: Fix clean target. Also include code generators in the cleaning targets. Change-Id: Ic1eeece5152f2b13a0357363d5e902b182022fdf --- diff --git a/commands/ash/Makefile b/commands/ash/Makefile index b1e649a9b..886f17533 100644 --- a/commands/ash/Makefile +++ b/commands/ash/Makefile @@ -42,6 +42,8 @@ CPPFLAGS+= -I. -I${.CURDIR} .for tool in init nodes signames syntax ${.OBJDIR}/mk${tool}: ${.CURDIR}/mk${tool}.c ${HOST_CC} ${.ALLSRC} -o ${.TARGET} + +CLEANFILES+= ${.OBJDIR}/mk${tool} .endfor # B. Generates C sources from C tools