News for hackers. Stuff that matters.
Re:Learn Makefiles with the Tastiest Examples by tyingq on Monday May 15, 2023 @06:16PM (#35955252)
Agree, though it can be handy for sort of non-standard dependency stuff. Like if you need to pull some thing with curl before a build, and you want "curl succeeded (exited zero)" to be a pre-requisite for that build. It's often less work to get a Makefile to do that than a script, or the make-like things that come with some other languages.

Maybe not the best example, but if you have a project with several weird things like that, make is often easier.

There are no comments on this comment yet.