Make recursive dry-run

后端 未结 1 1168
栀梦
栀梦 2021-02-14 10:55

I need to look at which commands are being used by make, but running command make --dry-run does not show the commands used by an internal make -C /foo

相关标签:
1条回答
  • 2021-02-14 11:43

    To allow -n to work recursively, invoke make recursively with $(MAKE) instead of just make.

    foo:
            $(MAKE) -C /foo
    
    0 讨论(0)
提交回复
热议问题