Re:Why I Prefer Makefiles over Package.json Scripts
by pqb on Monday March 14, 2022 @05:25PM
(#30678559)
Thank you for reminding me it! Awesome finding.
Worth noting, each recipe can have its very own SHELL[0] (e.g., ruby recipe, that uses ruby command with -e flag):
ruby: .SHELLFLAGS := -e
ruby: SHELL := ruby
ruby:
greeting = "labas"
puts "#{greeting}, ruby!"
[0]: http://agdr.org/2020/05/14/Polyglot-Makefiles.html
As a really crude example:
and so: I get that this doesn't exactly solve your "cross-platform work" gripe, but my point is that a lot of what people perceive as make providing isn't actually make in the first place.