commit d42870d6ca7fb587b38f8cf6d6821ae33a53a696
Author: Quentin Rameau <[email protected]>
AuthorDate: Mon Apr 30 16:14:05 2018 +0200
Commit: Aaron Marcher <[email protected]>
CommitDate: Mon Apr 30 16:27:07 2018 +0200
Makefile: add distclean target
diff --git a/Makefile b/Makefile
index e046597..c68a271 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,10 @@ config.h:
clean:
rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o)
+distclean:
+ for os in Linux OpenBSD; do make OS="$$os" clean; done
+ rm -f os.mk
+
dist:
rm -rf "slstatus-$(VERSION)"
mkdir -p "slstatus-$(VERSION)/components"