make deleting dependency files

前端 未结 2 645
小蘑菇
小蘑菇 2021-02-07 16:28

I\'m not sure if it\'s gmake or gcc that I don\'t understand here.

I\'m using the -MM and -MD options to generate dependency rules for the Unit Testing framework I\'m us

2条回答
  •  感情败类
    2021-02-07 17:18

    make will automatically create intermediate files if necessary to chain two rules together, but it will delete them at the end of the build. You can use the .PRECIOUS special target to prevent it from removing them

提交回复
热议问题