diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-11-30 16:39:35 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-11-30 16:39:35 +0900 |
| commit | cbe9f493403c478f99f85be2c421c3e4651776fd (patch) | |
| tree | f009dc75576faa616c3a049dc61c08a4eb15985a /testcase | |
| parent | 3de9ae06c39d4bfa9d898658a15b39c0e648f61f (diff) | |
[C++] Add a minimal support for .SUFFIXES
Only disabling all suffix rules is supported.
Diffstat (limited to 'testcase')
| -rw-r--r-- | testcase/err_suffixes.mk | 10 | ||||
| -rw-r--r-- | testcase/err_suffixes2.mk | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/testcase/err_suffixes.mk b/testcase/err_suffixes.mk new file mode 100644 index 0000000..2ac6d09 --- /dev/null +++ b/testcase/err_suffixes.mk @@ -0,0 +1,10 @@ +# TODO: Fix + +test1: + touch a.src + +test2: a.out + +# This isn't in .SUFFIXES. +.src.out: + echo $< > $@ diff --git a/testcase/err_suffixes2.mk b/testcase/err_suffixes2.mk new file mode 100644 index 0000000..8f9bacb --- /dev/null +++ b/testcase/err_suffixes2.mk @@ -0,0 +1,8 @@ +# TODO(go): Fix + +test1: + touch a.c + +test2: a.o + +.SUFFIXES: |
