Преглед изворни кода

Makefile: add distclean target

Quentin Rameau пре 7 година
родитељ
комит
d42870d6ca
1 измењених фајлова са 4 додато и 0 уклоњено
  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"