build/pymake/tests/multiple-rules-prerequisite-merge.mk

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # When a target is defined multiple times, the prerequisites should get
     2 # merged.
     4 default: foo bar baz
     6 foo:
     7 	test "$<" = "foo.in1"
     8 	@echo TEST-PASS
    10 foo: foo.in1
    12 bar: bar.in1
    13 	test "$<" = "bar.in1"
    14 	test "$^" = "bar.in1 bar.in2"
    15 	@echo TEST-PASS
    17 bar: bar.in2
    19 baz: baz.in2
    20 baz: baz.in1
    21 	test "$<" = "baz.in1"
    22 	test "$^" = "baz.in1 baz.in2"
    23 	@echo TEST-PASS
    25 foo.in1 bar.in1 bar.in2 baz.in1 baz.in2:

mercurial