开发者

GCC Dependency generation - library headers

I'm including some files from a library and using the gcc preprocessor to generate the dependencies. Right now, if I don't use the -MG option, it includes the library headers as dependencies of my source files. If I use the -MG option (and exclude searching of the library includes when generating dependencies),开发者_运维百科 then it assumes the library headers are auto-generated and does a clean make every time.

Is there a way to treat library headers the same way as system headers?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜