20 Star 93 Fork 37

linuxmail / lib-zc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 615 Bytes
一键复制 编辑 原始数据 按行查看 历史
linuxmail 提交于 2023-08-21 20:12 . macos
all: lib
.PHONY: lib test sample
# export CMAKE_C_COMPILER=/usr/local/bin/gcc-12
# export CMAKE_CXX_COMPILER=/usr/local/bin/g++-12
lib:
mkdir -p tmp_build && cd tmp_build && cmake ../ $(ZCC_LIB_CMAKE_DEFINITIONS) && make zc zc_coroutine
test sample: lib
cd tmp_build && make
clean:
rm -rf build
rm -rf tmp_build
mkdir -p tmp_build && cd tmp_build && cmake ../ $(ZCC_LIB_CMAKE_DEFINITIONS) && make clean >/dev/null
rm -rf tmp_build
rm -f libzc.a libzc_coroutine.a
find ./ -type f -name "*~" -exec rm {} \;
find ./ -type f -name "gmon.out" -exec rm {} \;
find ./ -type f -name "tags" -exec rm {} \;
C
1
https://gitee.com/linuxmail/lib-zc.git
git@gitee.com:linuxmail/lib-zc.git
linuxmail
lib-zc
lib-zc
master

搜索帮助