Makefile: add distclean target

This commit is contained in:
Quentin Rameau authored and Aaron Marcher committed 2018-04-30 16:27:07 +02:00
1 parent 2ea3d46f13
commit d42870d6ca
1 file changed
+4
+4
View File
@@ -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"