10
you are viewing a single comment's thread
view the rest of the comments
[-] setsubyou@lemmy.world 19 points 19 hours ago

Plain makefiles are horrible if you need to support multiple different platforms that all have their own quirks and build differences.

And also different implementations of make. The author lumps Unix, Linux and BSD together because you’d be likely to have make available on all of them, but neglects to mention that that could easily be three or more different dialects. If you create your Makefiles on Linux you are not at all unlikely to use GNU-specific features (because they’re handy) that won’t work on BSD. Or even features of GNU make 4 that still won’t work on older versions, e.g. what ships by default on Macs.

The way the author speaks about Windows in this context suggests they also don’t realize that Windows has nmake (of course also not really compatible with GNU).

It’s not a coincidence that even when it’s mostly Linux, people use autotools on top, and if it’s more platforms than that handles well, it’s often a set of setup scripts. Or that projects migrated to tools like Cmake, which is one of the worst scripting language designs I have seen in 30 years of professional software development, but makes it much less painful to support multiple platforms with a single build system. Including ones specific to Windows or macOS and so on, but also ninja on Linux that is much faster at incremental builds than make.

this post was submitted on 27 Nov 2026
10 points (91.7% liked)

Programming

29405 readers
309 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS