DEV Community

Discussion on: Modern makefiles used the right way in 2020

Collapse
 
jonlauridsen profile image
Jon Lauridsen

Great tips, thanks 👍 I use Make as a glorified script runner (all targets are phony), but after this I’ll go optimise.

Just to rant this somewhere: One detail I’ve always hated with Make, is when the default target starts a bunch of processing. I find that terribly confusing because who knows what it’s doing. So I’ve always set up my Makefiles to have a phony default target that explains what can be done.

Collapse
 
brickpop profile image
Jør∂¡

I'd like to do a quick bonus with an auto help generator. Stay tuned :)