This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 751076 - fix $< and $^ for pymake; r=bsmedberg
- Loading branch information
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# When a target is defined multiple times, the prerequisites should get | ||
# merged. | ||
|
||
default: foo bar baz | ||
|
||
foo: | ||
test "$<" = "foo.in1" | ||
@echo TEST-PASS | ||
|
||
foo: foo.in1 | ||
|
||
bar: bar.in1 | ||
test "$<" = "bar.in1" | ||
test "$^" = "bar.in1 bar.in2" | ||
@echo TEST-PASS | ||
|
||
bar: bar.in2 | ||
|
||
baz: baz.in2 | ||
baz: baz.in1 | ||
test "$<" = "baz.in1" | ||
test "$^" = "baz.in1 baz.in2" | ||
@echo TEST-PASS | ||
|
||
foo.in1 bar.in1 bar.in2 baz.in1 baz.in2: |