- 源码目录结构:
- 源码:
- ./include/test_tool_1.h 和 ./include/test_tool_2.h
- ./main/main.c
- ./tools/test_tool_1.c 和 ./tools/test_tool_2.c
- ./include/test_tool_1.h 和 ./include/test_tool_2.h
- Makefile:
- 在目录 /tmp/work/practice_1 下运行 make 命令:
- 执行 test_makefile:
- 执行 make clean 指令:
GNU Makefile学习专题(一) | 第一个实例
Makefile实践案例
最新推荐文章于 2024-12-02 00:38:58 发布
本文介绍了一个具体的Makefile实践案例,包括源文件组织结构、Makefile编写及如何通过make命令进行项目构建与清理。
1173

被折叠的 条评论
为什么被折叠?



