Simple Tutorial for Make

I don’t typically have much need to use make and I know the cool kids are using maven and cooler kids are using just but make is everywhere and not going away soon. This is a nice layer-cake example of using make, some folks have a gift for explaining things well and I wanted to share. via: lobsters

Also, make can be used for anything, not just “programming”, where updates are needed to some files based on whether some other files changed.

I shared this on the fedi (some good points in discussion there), but also wanted to share here.

-- Adding a comment I made on that thread –

I tend to use a shell script when I need the whole “string together a few commands that I won’t remember later” use case. I can appreciate how make makes that easier to handle if you have sub commands and avoids having to pass and parse parameters into the script; in that scenario just seems to be the right tool but not ubiquitous.

1 Like

The use of Make is pretty common in Go projects. :slight_smile:

1 Like

That’s cool. I’ve been using gow to run my small Go project but I’ll check out some projects to see how they use make. Got any good examples that come to mind?