.PHONY: install server client client-gui clean

# 安装依赖
install:
	pip install -r requirements.txt

# 启动服务器
server:
	python start_server.py

# 启动客户端（命令行）
client:
	python start_client.py

# 启动客户端（GUI）
client-gui:
	python start_client_gui.py

# 清理
clean:
	find . -type d -name "__pycache__" -exec rm -r {} +
	find . -type f -name "*.pyc" -delete
	find . -type f -name "*.pyo" -delete
	find . -type d -name "*.egg-info" -exec rm -r {} +

