commit d42870d6ca7fb587b38f8cf6d6821ae33a53a696
parent 2ea3d46f1341716daa1370f0f19d1fc571c3e63a
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 30 Apr 2018 16:14:05 +0200
Makefile: add distclean target
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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"