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 \
|
rm -f *~ *core core *.srec \
|
||||||
*.lst *.map \
|
*.lst *.map \
|
||||||
*.cprg *.bin *.data contiki*.a *.firmware core-labels.S *.ihex *.ini \
|
*.cprg *.bin *.data contiki*.a *.firmware core-labels.S *.ihex *.ini \
|
||||||
*.ce *.co $(CLEAN)
|
*.ce *.co
|
||||||
|
rm -rf $(CLEAN)
|
||||||
-rm -rf $(OBJECTDIR)
|
-rm -rf $(OBJECTDIR)
|
||||||
|
|
||||||
ifndef CUSTOM_RULE_C_TO_CE
|
ifndef CUSTOM_RULE_C_TO_CE
|
||||||
|
|
Loading…
Reference in a new issue