Skip to content

Make clean extensible #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cletomartin opened this issue Aug 16, 2014 · 2 comments
Closed

Make clean extensible #239

cletomartin opened this issue Aug 16, 2014 · 2 comments
Milestone

Comments

@cletomartin
Copy link

Hi,

sorry if this is was already discussed but I haven't seen it in the issue list. Please, point me to the concrete issue if exists.

Could you please change the target definition of clean to:

clean::

Using two-colon notation let the user to extend the actions during cleaning. E.g:

include /usr/share/arduino/Arduino.mk

clean::
    $(RM)  *~

Thus, apart from removing build directory, it also deletes all my backup files.

Cheers!

@sej7278
Copy link
Collaborator

sej7278 commented Aug 16, 2014

that's a good idea actually, something i already work around in my makefiles, but this is a better way to do it. fixed in PR #240

@sudar sudar added this to the 1.5 milestone Aug 17, 2014
@sudar sudar closed this as completed in 08c3ff6 Aug 17, 2014
@sudar
Copy link
Owner

sudar commented Aug 17, 2014

Thanks @cletomartin for reporting it and @sej7278 for implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants