bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 3/3] File used to test things


From: Britton Leo Kerin
Subject: [RFC PATCH 3/3] File used to test things
Date: Mon, 11 Nov 2024 10:48:54 -0900

---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]