Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | TESTVAR = anonval |
michael@0 | 2 | |
michael@0 | 3 | all: target.suffix target.suffix2 dummy host_test.py my.test1 my.test2 |
michael@0 | 4 | @echo TEST-PASS |
michael@0 | 5 | |
michael@0 | 6 | target.suffix: TESTVAR = testval |
michael@0 | 7 | |
michael@0 | 8 | %.suffix: |
michael@0 | 9 | test "$(TESTVAR)" = "testval" |
michael@0 | 10 | |
michael@0 | 11 | %.suffix2: TESTVAR = testval2 |
michael@0 | 12 | |
michael@0 | 13 | %.suffix2: |
michael@0 | 14 | test "$(TESTVAR)" = "testval2" |
michael@0 | 15 | |
michael@0 | 16 | %my: TESTVAR = dummyval |
michael@0 | 17 | |
michael@0 | 18 | dummy: |
michael@0 | 19 | test "$(TESTVAR)" = "dummyval" |
michael@0 | 20 | |
michael@0 | 21 | %.py: TESTVAR = pyval |
michael@0 | 22 | host_%.py: TESTVAR = hostval |
michael@0 | 23 | |
michael@0 | 24 | host_test.py: |
michael@0 | 25 | test "$(TESTVAR)" = "hostval" |
michael@0 | 26 | |
michael@0 | 27 | %.test1 %.test2: TESTVAR = %val |
michael@0 | 28 | |
michael@0 | 29 | my.test1 my.test2: |
michael@0 | 30 | test "$(TESTVAR)" = "%val" |