mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
Makefile.include: Add clean-intermediates target
This commit is contained in:
parent
e737a3a076
commit
ee8a8be09e
@ -237,6 +237,11 @@ clean:
|
|||||||
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean ; done
|
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean ; done
|
||||||
-@rm -rf $(BINDIR)
|
-@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:
|
distclean:
|
||||||
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i distclean ; done
|
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i distclean ; done
|
||||||
-@rm -rf $(BINDIRBASE)
|
-@rm -rf $(BINDIRBASE)
|
||||||
|
Loading…
Reference in New Issue
Block a user