diff --git a/Makefile.include b/Makefile.include index 662662e5bd..f0aad19130 100644 --- a/Makefile.include +++ b/Makefile.include @@ -309,6 +309,9 @@ clean-intermediates: -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i clean ; done -@rm -rf $(BINDIR)/*.a $(BINDIR)/*/ +clean-pkg: + -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done + distclean: -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done -@rm -rf $(BINDIRBASE)