diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-28 17:00:00 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-28 17:00:00 +0800 |
| commit | feec295692bd82e3193bf228ce709b8d63a0c24c (patch) | |
| tree | 94d51b8055c196bf306261fadca5de305aadece4 /snippets | |
| parent | 2c9ca86aa9317420afe10449a45a21f56ec4c22f (diff) | |
Update
Diffstat (limited to 'snippets')
| -rw-r--r-- | snippets/make_basic | 9 |
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 | ||
| 3 | ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) | ||
| 4 | |||
| 5 | all: | ||
| 6 | echo bar | ||
| 7 | |||
| 8 | some-target: | ||
| 9 | echo foo | ||