summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2018-04-30 16:14:05 +0200
committerAaron Marcher <me@drkhsh.at>2018-04-30 16:27:07 +0200
commitd42870d6ca7fb587b38f8cf6d6821ae33a53a696 (patch)
treed112cbc77ae5a1f1060bcf3d7a395488e4bcb07d
parent2ea3d46f1341716daa1370f0f19d1fc571c3e63a (diff)
Makefile: add distclean target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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"