diff --git a/Software/Applications/CodeBlocks/CodeBlocks_利用_cbp2make_生成_Makefile.md b/Software/Applications/CodeBlocks/CodeBlocks_利用_cbp2make_生成_Makefile.md new file mode 100644 index 0000000..5168c8c --- /dev/null +++ b/Software/Applications/CodeBlocks/CodeBlocks_利用_cbp2make_生成_Makefile.md @@ -0,0 +1,12 @@ +# CodeBlocks 利用 cbp2make 生成 Makefile + +cbp2make 是 CodeBlocks 提供的工具,使用 cbp2make 可将 CodeBlocks 的 cbp 工程文件转换为 Makefile。 + +```bash +# For Windows +cbp2make.exe -in test.cbp -out Makefile +# For Linux +cbp2make -in test.cbp -out Makefile +``` + +Windows 可在 CodeBlocks 的安装路径下找到 cbp2make.exe 文件。