you are viewing a single comment's thread
view the rest of the comments
[–] -2 points 1 day ago* (7 children)

Make is pretty jank. I wouldn't defend it. The only reasons to use it are that it's pretty much installed by default, and for some reason nobody has written a better version. Kinda weird really. I might vibe code one.

If you don't believe me, look at how recursive Make works, or how the job server works, or how to support paths containing spaces (you can't), or .PHONY, or how the default rule is chosen, or ...

  • source
  • hideshow 7 child comments
  • [–] 1 point 16 hours ago

    make has a huge amount of history, which is pretty much its selling point. We decided recently to introduce it into a project for command aliases, simply because it's available everywhere.

    just would've been the objectively better tool for what we want to use it for. But slapping .PHONY onto everything is less big of a deal than telling all devs to install yet another tool before they can get started.

  • source
  • parent
  • [–] 7 points 1 day ago (3 children)

    Off the top of my head there's Just, Ninja and redo

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 1 day ago (1 child)

    Ninja isn't designed for hand written rules - it's more of a backend tool.

    Redo is barely anything at all. It sounds kind of elegant but I've tried it - you basically end up assembling Make yourself from dozens of loose files.

    Just isn't really a build system at all - it's a "command runner" like npm run. I'm not sure it can even do dependency tracking like Make can it? In any case in my view it's worse because they've made it super complicated and kitchen sinky.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 day ago (1 child)

    I haven’t used it yet, but isn’t just a "better" version?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 21 hours ago

    So there are multiple use cases here: one is a script runner, and the other is a directed act mix graph runner with timestamp based pruning.

    Make is good for builds because it ignores unmodified data, and just is great as a script runner because it’s way more ergonomic than make to write.

    I think they both have a good place, but for most languages other than C you need a script rune and the compiler does all the file selection and pruning.

  • source
  • parent