diff options
Diffstat (limited to 'snippets/make_basic')
| -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 | ||