From d42870d6ca7fb587b38f8cf6d6821ae33a53a696 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Mon, 30 Apr 2018 16:14:05 +0200 Subject: [PATCH] Makefile: add distclean target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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"