aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets/make_basic
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-28 17:00:00 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-28 17:00:00 +0800
commitfeec295692bd82e3193bf228ce709b8d63a0c24c (patch)
tree94d51b8055c196bf306261fadca5de305aadece4 /snippets/make_basic
parent2c9ca86aa9317420afe10449a45a21f56ec4c22f (diff)
Update
Diffstat (limited to 'snippets/make_basic')
-rw-r--r--snippets/make_basic9
1 files changed, 9 insertions, 0 deletions
diff --git a/snippets/make_basic b/snippets/make_basic
new file mode 100644
index 0000000..5ab47b9
--- /dev/null
+++ b/snippets/make_basic
@@ -0,0 +1,9 @@
1.ONESHELL:
2.PHONY: some-target
3ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
4
5all:
6 echo bar
7
8some-target:
9 echo foo