Allows for using `make clean` to remove any output files generated by
make(1).

Signed-off-by: Lukas Fleischer <[email protected]>
---
 Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 47378ff..9249da6 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,9 @@ all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
        @chmod a-w "$@"
        @chmod +x "$@"
 
+clean:
+       rm -f $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
+
 install:
        install -dm0755 $(DESTDIR)$(PREFIX)/bin
        install -dm0755 $(DESTDIR)$(PREFIX)/sbin
@@ -84,4 +87,4 @@ dist:
 upload:
        scp devtools-$(V).tar.gz gerolde.archlinux.org:/srv/ftp/other/devtools/
 
-.PHONY: all install uninstall dist upload
+.PHONY: all clean install uninstall dist upload
-- 
1.7.6.1

Reply via email to