summaryrefslogtreecommitdiff
path: root/Makefile
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
commitc839b6ae1a866275a78d97eedcec3fb910621750 (patch)
treed112cbc77ae5a1f1060bcf3d7a395488e4bcb07d /Makefile
parentf58ce841802e2f80df3cb90e3668836a4d3995b9 (diff)
Makefile: add distclean target
Diffstat (limited to 'Makefile')
-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"