File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# --------------------------------------------------------------
33# SPDX-License-Identifier: GPL-3.0-or-later
44# --------------------------------------------------------------
5- # Build File : Makefile
6- # File Authors : Aoran Zeng <ccmywish@qq.com>
7- # Contributors : Yangmoooo <yangmoooo@outlook.com>
5+ # Build File : Makefile
6+ # File Authors : 曾奥然 <ccmywish@qq.com>
7+ # Contributors : Yangmoooo <yangmoooo@outlook.com>
88# | sanchuanhehe <wyihe5520@gmail.com>
99# |
1010# Created On : <2023-08-28>
11- # Last Modified : <2025-07-22 >
11+ # Last Modified : <2025-10-15 >
1212#
1313# 请阅读 ./doc/01-开发与构建.md 来使用
1414# --------------------------------------------------------------
@@ -26,10 +26,12 @@ ifeq ($(shell uname), Darwin)
2626 On-macOS = 1
2727endif
2828
29- # 只有Windows会定义 $(OS)变量
29+ # 只有 MSYS2 会定义 $(OS) 变量
3030ifeq ($(OS ) , Windows_NT)
3131 On-Windows = 1
3232endif
33+ # 注意, 原生 Windows 会定义 $(ComSpec) 变量,且区分大小写
34+ # 但是 MSYS2 并不会定义
3335# =====================================
3436
3537
@@ -196,6 +198,7 @@ test-cli: $(DevMode-Target-Name)
196198
197199clean :
198200 -@rm * .exe 2> /dev/null
201+ -@rm * .res 2> /dev/null
199202 -@rm xy 2> /dev/null
200203 -@rm fw 2> /dev/null
201204 -@rm README.md.bak* 2> /dev/null
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ test-cli:
148148
149149clean :
150150 - @{{ BIN_rm}} *.exe
151+ - @{{ BIN_rm}} *.res
151152 - @{{ BIN_rm}} xy
152153 - @{{ BIN_rm}} fw
153154 - @{{ BIN_rm}} chsrc
You can’t perform that action at this time.
0 commit comments