Skip to content
Snippets Groups Projects
Commit ee8a8be0 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

Makefile.include: Add clean-intermediates target

parent e737a3a0
No related branches found
No related tags found
No related merge requests found
......@@ -237,6 +237,11 @@ clean:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean ; done
-@rm -rf $(BINDIR)
# Remove intermediates, but keep the .elf, .hex and .map etc.
clean-intermediates:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean ; done
-@rm -rf $(BINDIR)/*.a $(BINDIR)/*/
distclean:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i distclean ; done
-@rm -rf $(BINDIRBASE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment