summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-03-16 10:52:59 +1100
committerMaxime Coste <mawww@kakoune.org>2024-03-21 18:06:43 +1100
commitc3856ad3d9ee963e77baf3df17b156d9f7770265 (patch)
treecda63edd88f92af85f9007a1d035db0153c57b20 /Makefile
parentf6762724ea1c747e803c3ed8269b35dac64b41a9 (diff)
Make src/kak a .PHONY target to always set the symlink
This ensures `make debug=yes`, `make debug=no` always update the symlink even if the binary was already built.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4ca25331..7a2c737a 100644
--- a/Makefile
+++ b/Makefile
@@ -96,6 +96,7 @@ KAK_LIBS = \
tag = $(tag-debug-$(debug))$(tag-sanitize-$(sanitize))
.SUFFIXES: $(tag).o .cc
+.PHONY: src/kak
sources != find src -type f -name '*.cc' | sed -e '/\.version\.cc/d'
objects = $(sources:.cc=$(tag).o)