Browse Source

Makefile: add distclean target

Quentin Rameau 7 năm trước cách đây
mục cha
commit
d42870d6ca
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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"