ソースを参照

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"