Explorar o código

Makefile: add distclean target

Quentin Rameau %!s(int64=7) %!d(string=hai) anos
pai
achega
d42870d6ca
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Makefile

+ 4 - 0
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"