开发者

fpcmake and Makefile.fpc, where can I get some training? [closed]

开发者 https://www.devze.com 2022-12-13 18:42 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_StackOverflow

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

I've never used any of these, but they are listed on the main Free Pascal site and I would really like to get my hands on:

  • Beginners guide, to get me started
  • Advanced guide, to help me grow

All this in case it's still used/standard.

Thanks


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号