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

     1  # TODO(go): Fix
     2  
     3  test: foo.x bar.z
     4  
     5  Z:=FAIL
     6  foo.x: X:=PASS
     7  
     8  %.x: X+=FAIL
     9  %.x: Y:=PASS
    10  %.x: Z:=PASS
    11  
    12  %.x:
    13  	echo X=$(X) Y=$(Y) Z=$(Z)
    14  
    15  X:=FAIL
    16  %.z: X:=PASS
    17  %.z:
    18  	echo $(X)