aboutsummaryrefslogtreecommitdiff
path: root/testcase/ifdef_with_trailing_space.mk
blob: 3f1f28706acf3e9cbef528ca43e4898d1530e7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

A := a # comment

ifdef $(A)
$(error FAIL)
else
$(info PASS)
endif

a := b
ifdef $(A)
$(info PASS)
else
$(error FAIL)
endif

ifdef a # comment
$(info PASS)
else
$(error FAIL)
endif