diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-28 16:50:55 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-28 16:50:55 +0500 |
| commit | c0a6833248c4b75199c53eb6b4fac563a512c3ea (patch) | |
| tree | b56ecfabae55e31099cf8c75a9c6aae7d3131917 | |
| parent | remove annoying trailing period from repo URLs (diff) | |
| download | cimple-c0a6833248c4b75199c53eb6b4fac563a512c3ea.tar.gz cimple-c0a6833248c4b75199c53eb6b4fac563a512c3ea.zip | |
consistent prelude.mk
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | prelude.mk | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -20,9 +20,6 @@ build_dir := $(src_dir)/build .PHONY: all all: debug -.PHONY: DO -DO: - .PHONY: clean clean: rm -rf -- '$(call escape,$(build_dir))' @@ -1,4 +1,4 @@ -# Please see https://egort.name/blog/notes/makefile.html +# Please see https://tensin.name/blog/notes/makefile.html MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables unexport MAKEFLAGS @@ -21,3 +21,9 @@ ifeq ($$(origin $(1)),command line) override $(1) := $$(value $(1)) endif endef + +# A helper target to force execution of pattern rules (works like .PHONY for +# them): https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html +# +.PHONY: DO +DO: |
