# makefile_template **Repository Path**: wenda84/makefile_template ## Basic Information - **Project Name**: makefile_template - **Description**: 也许是最保姆级的简易makefile示例样本 - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-18 - **Last Updated**: 2023-11-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 说明 一个常用的makefile示例,涵盖了中小工程大部分需求,如多个代码路径、多个头文件路径、多个动态库链接路径等等。 ## 示例目录结构 默认目录结构如下,也支持通过修改makefile配置来自定义目录结构. ```c . ├── 3rd │ └── thrdpool │ ├── list.h │ └── thrdpool.h ├── include │ └── thread_entry.h ├── libs │ └── libthrdpool.so ├── source │ └── thread_entry.cc ├── main.cc ├── makefile └── readme.md ``` ## 参考 《跟我一起写 Makefile》 [通过实例学Makefile](https://zhuanlan.zhihu.com/p/317716664)