加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 816 Bytes
一键复制 编辑 原始数据 按行查看 历史
CandyMi 提交于 2021-06-08 21:17 . 修改cfadmin内置库为并行编译
.PHONY : build rebuild clean
RM = rm -rf
default :
@echo "======================================="
@echo "Please use 'make build' command to build it.."
@echo "Please use 'make rebuild' command to rebuild it.."
@echo "Please use 'make clean' command to clean all."
@echo "======================================="
# 如果需要修改内存分配器,请修改:
# 1. src/Makefile
# 2. luaclib/Makefile
build :
@$(MAKE) -s -C src build
@echo "********** Built-in core modules **********"
@cd luaclib && $(MAKE) -s internal 3part -j4
@$(MAKE) -s -C 3rd build
rebuild :
@$(MAKE) -s clean
@$(MAKE) -s build
clean :
@echo "********** Clean All Files **********"
@echo "rm -rf cfadmin libcore luaclib/*.so 3rd/*.so"
@$(RM) cfadmin cfadmin.exe libcore.so libcore.dll luaclib/*.so
@$(MAKE) -s -C 3rd clean
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化