--- src/Makefile.test_per_target_oneshell | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Makefile.test_per_target_oneshell
diff --git a/src/Makefile.test_per_target_oneshell b/src/Makefile.test_per_target_oneshell new file mode 100644 index 00000000..52980595 --- /dev/null +++ b/src/Makefile.test_per_target_oneshell @@ -0,0 +1,13 @@ +#.ONESHELL: + +.ONESHELL: foo + +bar: + MY_BIG_BAR="hi there" + echo hello from $@ + echo var value:: $$MY_BIG_BAR + +foo: + MY_BIG_FOO="hi there" + echo hello from $@ + echo var value:: $$MY_BIG_FOO -- 2.43.0