diff --git a/Makefile.include b/Makefile.include
index fadbc0da40b154eac8469103241b86d5d27092f7..2291888613825912369e735734859d88c497d37e 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -124,7 +124,7 @@ $(USEPKG:%=${BINDIR}%.a)::
 
 clean:
 	@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean || exit 1; done
-	rm -rf $(BINDIR)
+	rm -rf $(BINDIR) $(CLEANFILES)
 
 flash: all
 	$(FLASHER) $(FFLAGS)