This is simple enough if you're okay with intermediary files littering the entire codebase. Targets and their intermediary files will be written right next to their sources and the whole tree will be a huge mess.
The makefile quickly gets complicated if one wants an organized source tree such as:
The makefile quickly gets complicated if one wants an organized source tree such as:
To be transformed into an architecture specific build tree whose organization automatically matches that of the source tree: The general solution to that is the explicit path method:https://make.mad-scientist.net/papers/multi-architecture-bui...