开发者

Editing an existing make system

开发者 https://www.devze.com 2023-03-28 17:21 出处:网络
Which file would I need to edit to add additional files to an existing make system? There are three files:

Which file would I need to edit to add additional files to an existing make system? There are three files:

Makefile.am Makefile.in Makefile

They all contain information about the sources that are being used. I assume it is the Makefile.am, becaue in Makefile.in it says "generated by automake". My question is though: How can I tell the system to regenerate Makefiles with my changes, but without cha开发者_C百科nging anything else?


Make your modifications to Makefile.am, and run make. This should trigger a call to automake (to regenerate Makefile.in) and then to configure to regenerated Makefile.

In some projects these rebuild rules are disabled and nothing will happen. In that case you have to run ./configure --enable-maintainer-mode first to enabled these.

0

精彩评论

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