Learn Makefiles with the Tastiest Examples
Rant incoming;I really don’t like Make for the common use-cases it is being used for in the modern day, such as the Golang ecosystem or in many cases: creating docker files.Make, at its core, is a tool that is meant to help you structure your dependencies for incrementally building things, but people use it as a glorified task runner simply due to the fact that it’s such a common build tool that it is nearly always installed if you have a development toolchain on your machine.Go and docker already have incremental compilation built in, and docker doesn’t give definable artifacts so you can’t make other things depend on them eitherIt is a powerful tool, but the syntax is hideous and has more jagged edges than bash does, and we aren’t even using it in a way that justifies this. Makes me so frustrated for some reason.Like everyone deciding to use a supercar to do farmwork.