News for hackers. Stuff that matters.
Re:Why Use Make (2013) by imran-iq on Wednesday January 11, 2023 @02:26PM (#34343251)
Since make 3.82 (which is about 12 years old now) supports `.RECIPEPREFIX`

  .RECIPEPREFIX = >

  all:
  > foo bar
Re:Why Use Make (2013) by enriquto on Wednesday January 11, 2023 @05:34PM (#34346021)
also, since forever, you can use a semicolon and put the rule on the same line:

    target : deps ; rule
There are certainly a lot of legitimate criticisms of make, but the tabs issue is ridiculous (as are complains about .PHONY).
Re:Why Use Make (2013) by kortex on Wednesday January 11, 2023 @07:44PM (#34347438)
Tabs are absolutely a valid criticism. I can't tell you how many times the editor I'm using put in 4 spaces instead of a proper tab.

.PHONY is truly a bizarre construction. There's nothing like it in modern code systems. It's only by familiarity with make that it gains some semblance of normalcy.