Theory

Makefiles are often used to generate derived files from whatever files we might consider to be the source. The way to do so in an structured and maintainable way is to group the commands in rules or targets, and make the end targets depend on the intermediate ones, if that's the case.