Building multiple executables with similar rules
You can actually do this with a few lines of GNU Make. Below are two makefiles that allow building and cleaning from all_lessons directory and individual project directories. It assumes that all C++ sources in that directory comprise an executable file which gets named after its directory. When building and cleaning from the top level … Read more