Skip to content
Commit ae9a777a authored by Jonathan Poelen's avatar Jonathan Poelen Committed by Christoph Cullmann
Browse files

Makefile: add multi-line target, target variable value, target separator and...

Makefile: add multi-line target, target variable value, target separator and keyword ; fix define and escaped rule

- multi-line target

```mk
target1 \
target2: ....
```

- target-specific variable value

```mk
prog: private EXTRA_CFLAGS = -L/usr/local/lib
prog: CFLAGS = -g
 #    ^ variable
 #            ^ value
```

- target separator

```mk
prog:
prog::
prog&:
prog&::
 #  ^ TargetSeparator style
```

- fix escaped rule

```mk
prog:
	echo bla \
   bla
 #^ no tab is ok
```

BUG: 470920
parent 4c5d01c5
Pipeline #435331 passed with stage
in 3 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment