|
|
|
|
|
by slmjkdbtl
1997 days ago
|
|
(not strong arguments but some possible explanations) 1) ./make can be more portable e.g. you might use some GNU Make syntax that does not run on BSD and have to insall gmake just to run that 2) Make is not designed to be a command runner and have to manually add .PHONY to everything 3) case looks minimal and flexible enough (although I'm sure sh's confusing syntax can cause a lot of pain for non sh experts like esac wtf) |
|
1) I suspect GNU Make will be installed on any system where node code will run.
2) You don’t have to .PHONY anything that will never be a real file.
3) My bet is the Makefile will be shorter and clearer, but I am of course biased since I’m used to the syntax.