GNU make with many target directories

后端 未结 4 813
长情又很酷
长情又很酷 2021-02-10 17:02

I have to integrate the generation of many HTML files in an existing Makefile. The problem is that the HTML files need to reside in many different directories. My i

4条回答
  •  执念已碎
    2021-02-10 17:34

    An other possibility is to have the commando make call itself recursively with the argument -C with every output directory. Recursive make is somewhat the standard way to deal with subdirectories, but beware of the implications mentioned in the article "Recursive Make Considered Harmful"

提交回复
热议问题