Makefiles are boring but extremely useful ⚡

Arpit Bhayani

Arpit Bhayani

Feb 01, 2024 • 1 min read


Makefiles are boring but extremely useful ⚡

No matter which language, build tool, or framework I am using, Makefiles just work. Although they are very heavily used to c/c++ development, I use them for my Go and Python projects as well.

Although you can do complex dependency management to minimize build times, I typically used it to register and execute multiple repetitive tasks under an alias.

Just having the ability to abstract our complex commands having multiple flags and environment variables via a simple make -B gen is such a time saver.

Attaching a very primitive and simple makefile for a recently created Flask project without any fancy stuff (yet). Learn once, use everywhere.

if you are unaware of Makefiles, just spend 30 minutes watching any tutorial video about it on YT or following any written tutorial (if you prefer) and I am sure you will resonate with the simplicity.

⚡ I keep writing and sharing these nuggets, so if you are keen on learning them, follow along.

youtube.com/c/ArpitBhayani

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses