Sources from subdirectories in Makefile

后端 未结 7 1332
无人共我
无人共我 2020-11-29 19:06

I have a C++ library built using a Makefile. Until recently, all the sources were in a single directory, and the Makefile did something like this

SOURCES = $(w

7条回答
  •  青春惊慌失措
    2020-11-29 20:04

    This is a side note and do not answer to your question but there is a paper "Recursive Make Considered Harmful". It's worth reading.

    Here is the link. http://aegis.sourceforge.net/auug97.pdf

提交回复
热议问题