News for hackers. Stuff that matters.
Re:Time for Makefiles to Make a Comeback by verytrivial on Tuesday September 05, 2017 @04:53AM (#15173495)
Friends don't let friends write recursive makefiles.
Re:Time for Makefiles to Make a Comeback by dangerbird2 on Tuesday September 05, 2017 @09:00AM (#15174661)
It seems like each of the folders with makes files having Makefiles also have a package.json, suggesting they are self-contained packages under the same repository. Still, it seems like a questionable move
Re:Time for Makefiles to Make a Comeback by marcv81 on Tuesday September 05, 2017 @05:22AM (#15173613)
Friends don't let friends write Makefiles at all. The author does not appear to be familiar with them, except for the trivial examples in this post.
Re:Time for Makefiles to Make a Comeback by dangerbird2 on Tuesday September 05, 2017 @08:58AM (#15174652)
The types of trivial examples in the post are exactly what you should use makefiles for. make excels at managing simple file transformations: you get into trouble when you try to do complex cross-platform scripting with it.
Re:Time for Makefiles to Make a Comeback by Pica_soO on Tuesday September 05, 2017 @06:30AM (#15173881)
Every folder gets its own little makefile. Calling those recursive shouldnt result in trouble?
Re:Time for Makefiles to Make a Comeback by zwp on Tuesday September 05, 2017 @08:41AM (#15174532)
You might like "Recursive Make Considered Harmful", Miller.

http://aegis.sourceforge.net/auug97.pdf

Although I suspect the main complaint (slow, due to checking directories where nothing has changed) has mostly been swept under the rug by increased CPU speeds some of the other items (managing dependencies, ordering, ...) are still worth considering today.

Re:Time for Makefiles to Make a Comeback by jhasse on Tuesday September 05, 2017 @10:30AM (#15175541)
Tup solves this: http://gittup.org/tup/