fpcmake 和 Makefile.fpc,我可以在哪里获得培训?

发布于 2024-08-15 03:03:55 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨落□心尘 2024-08-22 03:03:55

恕我直言,makefile.fpc 大部分是 FPC 内部的。我不会将它用于自己的项目。

这个想法是通过运行“fpcmake -Tall -w”将Makefile.fpc 与模板fpcmake.ini 结合起来生成GNU Makefile。 fpcmake.ini 模板内置于 fpcmake 二进制文件中。

Makefile.fpc 是一个包含用于自定义 (fpcmake.ini) 模板的参数的文件,但也可以添加其他目标(以 makefile 格式)。

据我所知,文档中有一段关于 fpcmake 的内容,其余部分通常通过示例学习,packages/ 中的简单用法,更复杂的示例是顶级 makefile.fpc 以及编译器和 rtl/ 中的示例

IMHO makefile.fpc is mostly FPC internal. I wouldn't use it for own projects.

The idea is that Makefile.fpc is combined with a template fpcmake.ini by running "fpcmake -Tall -w" to generate a GNU Makefile. The fpcmake.ini template is built in into the fpcmake binary.

Makefile.fpc is a file that has parameters for customizing the (fpcmake.ini) template, but can also add additional targets (in makefile format).

To my knowledge there is a paragraph about fpcmake somewhere in the documentation, nad the rest is usually learned by example, simple usage in packages/ and the more complicated examples are the toplevel makefile.fpc and the ones in compiler and rtl/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文