Tag: makefile
Advent 2023: Makefile: guard targets
A couple days ago, I wrote about Makefile. Today, I'm going to show a quick tip for writing "guard" targets.
Advent 2023: Makefile
I like to automate common workflows when I can, particularly for web projects.
As an example, I may have different Docker Compose setups for development versus production, and having to remember to add the -f {compose file name}
argument can be tedious and error prone.
Being a long-time Linux user, I've used make
a lot, and am fairly comfortable with Makefile
, so I often turn to it for these tasks.