From c3856ad3d9ee963e77baf3df17b156d9f7770265 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 16 Mar 2024 10:52:59 +1100 Subject: [PATCH] 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) 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)