Learn Makefiles with the Tastiest Examples
Rant incoming;<p>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.<p>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 <i>nearly</i> always installed if you have a development toolchain on your machine.<p>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 either<p>It is a powerful tool, but the syntax is hideous and has more jagged edges than bash does, and we aren’t even <i>using</i> it in a way that justifies this. Makes me so frustrated for some reason.<p>Like everyone deciding to use a supercar to do farmwork.