News for hackers. Stuff that matters.
Re:Using `make` to compile C programs by ashishb on Saturday June 14, 2025 @07:36PM (#44279554)
Make is a good replacement for shell script.

Especially, given how bad the defaults in bash are https://ashishb.net/programming/better-bash/

> I do the same except I use shell scripts. script/fmt, script/lint

Do you create a separate file for every single target then?

Re:Using `make` to compile C programs by akdev1l on Saturday June 14, 2025 @07:58PM (#44279647)
> Make is a good replacement for shell script.

it’s not, you need to start thinking about .PHONY targets and other stuff quite quickly