[hackers] [slstatus] Makefile: add distclean target || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 30 Apr 2018 16:30:20 +0200 (CEST)

commit d42870d6ca7fb587b38f8cf6d6821ae33a53a696
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Mon Apr 30 16:14:05 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
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
_AT_@ -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"
Received on Mon Apr 30 2018 - 16:30:20 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 30 2018 - 16:36:55 CEST