Re:Using `make` to compile C programs
by onionisafruit on Saturday June 14, 2025 @07:34PM
(#44279546)
I do the same except I use shell scripts. script/fmt, script/lint etc are consistent across projects even though the implementation details differ. I only use make for actually making files. It’s great for that, but it’s a pretty crappy replacement for a shell script.
[ Parent
| on HN ]
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?