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:
parent
f6762724ea
commit
c3856ad3d9
1
Makefile
1
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user