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.
This commit is contained in:
Maxime Coste 2024-03-16 10:52:59 +11:00
parent f6762724ea
commit c3856ad3d9

View File

@ -96,6 +96,7 @@ KAK_LIBS = \
tag = $(tag-debug-$(debug))$(tag-sanitize-$(sanitize)) tag = $(tag-debug-$(debug))$(tag-sanitize-$(sanitize))
.SUFFIXES: $(tag).o .cc .SUFFIXES: $(tag).o .cc
.PHONY: src/kak
sources != find src -type f -name '*.cc' | sed -e '/\.version\.cc/d' sources != find src -type f -name '*.cc' | sed -e '/\.version\.cc/d'
objects = $(sources:.cc=$(tag).o) objects = $(sources:.cc=$(tag).o)