We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
恕我直言,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/