6 Star 12 Fork 6

覃攀 / cothread2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 385 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
.phony:all clean
CFLAGS= -g -I./ -Wall
KERNEL_SRC=kernel/cothread.c kernel/lock.c kernel/mq.c
LIB_SRC=lib/coshell.c lib/command.c lib/colog.c lib/misc.c lib/timer.c
all:
gcc $(CFLAGS) -o cothread_demo cothread_demo.c $(KERNEL_SRC) $(LIB_SRC)
gcc $(CFLAGS) -o cothread_demo_rtos cothread_demo_rtos.c -pthread $(KERNEL_SRC) $(LIB_SRC)
clean:
rm -rf cothread_demo
C
1
https://gitee.com/qinpan/cothread2.git
git@gitee.com:qinpan/cothread2.git
qinpan
cothread2
cothread2
master

搜索帮助