File: unmatched_paren2.mk

package info (click to toggle)
android-platform-build-kati 10.0.0%2Br32%2Bgit20220314.09dfa26c4e59-7.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,628 kB
  • sloc: cpp: 10,340; sh: 1,087; python: 85; makefile: 46
file content (13 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
foo = FOO
bar = BAR
dp := $$(
$(dp)foo := PASS_UNMATCHED
FOO1BAR := PASS_MATCHED
baz = 0$($(foo)1$(bar)2
# baz will be 0PASS_UNMATCHED, 1$(bar)2 will be discarded??
baz2 = 0$($(foo)1$(bar))2
# baz2 will be 0PASS_MATCHED2.

test:
	echo "$(baz)"
	echo "$(baz2)"