News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by nthompson on Wednesday February 28, 2018 @12:56PM (#16485032)
Look at the git makefile: https://github.com/git/git/blob/master/Makefile

You know what you have to do to build git? Type make. It's amazing.

Re:The Makefile I use with JavaScript projects by kowdermeister on Wednesday February 28, 2018 @01:16PM (#16485243)
If fixing things in this makefile is not your job, then it really is amazing.
Re:The Makefile I use with JavaScript projects by markbnj on Wednesday February 28, 2018 @01:41PM (#16485473)
Honestly its like any other tool we use: once you know the rules governing its behavior it really isn't that hard to debug issues. Make is very consistent in most cases. There are plenty of traps, and they're made easier to fall into given the archaic syntax, but you don't typically have to fall into them over and over again :).
Re:The Makefile I use with JavaScript projects by IshKebab on Wednesday February 28, 2018 @05:25PM (#16487720)
Yes but some tools have... shall we say, irregular rules. Tell me how CMake's argument quoting works for example.
Re:The Makefile I use with JavaScript projects by isaachier on Thursday March 01, 2018 @12:47AM (#16489958)
Actually, you might want to glance at the first few hundred lines of platform specific stuff you are supposed to set manually before the main makefile begins. Literally meant to be set by hand, but the Git developers made educated guesses about the specifics of each platform.