Commit 8af1290c authored by 邱阿朋's avatar 邱阿朋

build(Makefile): 添加特定构建目标并优化构建流程

- 新增 build_super、build_tools 和 build_price 目标,用于单独构建不同的可执行文件
- 保留原有构建逻辑,增加版本号显示
- 优化 clean 目标,清除不必要的 spec 文件
parent ff517d27
...@@ -22,5 +22,17 @@ build: ...@@ -22,5 +22,17 @@ build:
pyinstaller $(PYI_FLAGS) -n super_gui_$(VERSION).exe super_gui.py pyinstaller $(PYI_FLAGS) -n super_gui_$(VERSION).exe super_gui.py
pyinstaller $(PYI_FLAGS) -n price_gui_$(VERSION).exe price_gui.py pyinstaller $(PYI_FLAGS) -n price_gui_$(VERSION).exe price_gui.py
build_super:
@echo "version: $(VERSION)"
pyinstaller $(PYI_FLAGS) -n super_gui_$(VERSION).exe super_gui.py
build_tools:
@echo "version: $(VERSION)"
pyinstaller $(PYI_FLAGS) -n tools_gui_$(VERSION).exe tool_gui.py
build_price:
@echo "version: $(VERSION)"
pyinstaller $(PYI_FLAGS) -n price_gui_$(VERSION).exe price_gui.py
clean: clean:
rm -f *.spec rm -f *.spec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment