github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/target_specific_var_append.mk (about)

     1  all: a b c d e f g h
     2  
     3  a: A:=PASS_A
     4  a: A+=A
     5  a:
     6  	echo A=$(A)
     7  
     8  # Note: for some reason, make does not insert a whitespace before OK.
     9  B:=FAIL_B
    10  b: B+=OK
    11  b:
    12  	echo B=$(B)
    13  B:=
    14  
    15  C:=PASS_C
    16  c: C?=FAIL_CC
    17  c:
    18  	echo C=$(C)
    19  
    20  d: D?=PASS_D
    21  d:
    22  	echo D=$(D)
    23  
    24  PASS_E:=PASS
    25  e: E:=
    26  e: E+=$(PASS_E)
    27  e:
    28  	echo E=$(E)
    29  PASS_E:=FAIL
    30  
    31  PASS_F:=FAIL
    32  f: F=
    33  f: F+=$(PASS_F)
    34  f:
    35  	echo F=$(F)
    36  PASS_F:=PASS
    37  
    38  PASS_G:=FAIL
    39  G:=X
    40  g: G+=$(PASS_G)
    41  g:
    42  	echo G=$(G)
    43  PASS_G:=PASS
    44  
    45  PASS_H:=FAIL
    46  H=X
    47  h: H+=$(PASS_H)
    48  h:
    49  	echo H=$(H)
    50  PASS_H:=PASS