diff options
Diffstat (limited to 'testcase/realpath.mk')
| -rw-r--r-- | testcase/realpath.mk | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testcase/realpath.mk b/testcase/realpath.mk index 0d57e3b..456230d 100644 --- a/testcase/realpath.mk +++ b/testcase/realpath.mk @@ -1,13 +1,12 @@ -foo = $(realpath ./foo) -bar = $(realpath ./bar) -foofoo = $(realpath ./foo ./foo) -foobar = $(realpath ./foo ./bar) +$(shell touch ../foo) -test: foo +foo = $(realpath ../foo) +bar = $(realpath ../bar) +foofoo = $(realpath ../foo ../foo) +foobar = $(realpath ../foo ../bar) + +test: echo $(foo) echo $(bar) echo $(foofoo) echo $(foobar) - -foo: - touch foo |
