Makefile: add distclean target

This commit is contained in:
Quentin Rameau 2018-04-30 16:14:05 +02:00 committed by Aaron Marcher
parent 2ea3d46f13
commit d42870d6ca
1 changed files with 4 additions and 0 deletions

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"