Makefile.include: support extending CLEAN with directories
Use recursive remove for $(CLEAN) to support applications that extended it with directories that should be removed.
This commit is contained in:
parent
7cc8f326f4
commit
e6431d8fff
|
@ -179,7 +179,8 @@ endef
|
|||
rm -f *~ *core core *.srec \
|
||||
*.lst *.map \
|
||||
*.cprg *.bin *.data contiki*.a *.firmware core-labels.S *.ihex *.ini \
|
||||
*.ce *.co $(CLEAN)
|
||||
*.ce *.co
|
||||
rm -rf $(CLEAN)
|
||||
-rm -rf $(OBJECTDIR)
|
||||
|
||||
ifndef CUSTOM_RULE_C_TO_CE
|
||||
|
|
Loading…
Reference in a new issue