Recursive make in subdirectories

前端 未结 4 701
清歌不尽
清歌不尽 2021-02-04 01:37

How can I order make command in the Makefile to execute recursively in all subdirectories make commands (defined in the Makefile in the subdirectories)

4条回答
  •  别跟我提以往
    2021-02-04 01:59

    1. Read Recursive Use of Make chapter of GNU Make manual.
    2. Learn Peter Miller's Recursive Make Considered Harmful article.
    3. ...
    4. PROFIT!!!

    P.S. A code snippet from my answer to a different yet related question could be used as a rough approximation.

提交回复
热议问题