5 ms·
Since make 3.82 (which is about 12 years old now) supports `.RECIPEPREFIX` .RECIPEPREFIX = > all: > foo bar
by imran-iq 4y ago
Since make 3.82 (which is about 12 years old now) supports `.RECIPEPREFIX`
.RECIPEPREFIX = >
all:
> foo bar
- enriquto 4y agoalso, 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).
- kortex 4y agoTabs 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.