From 61a2bd0732eced586b3a455b6ab7cf4577b52696 Mon Sep 17 00:00:00 2001 From: Thomas Walker Lynch Date: Tue, 21 Oct 2025 08:54:41 +0000 Subject: [PATCH] . --- developer/make/target_library_cli.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/developer/make/target_library_cli.mk b/developer/make/target_library_cli.mk index c644b96..954939d 100644 --- a/developer/make/target_library_cli.mk +++ b/developer/make/target_library_cli.mk @@ -79,7 +79,12 @@ NEED_LIB := $(strip $(OBJECT_LIB)) LIB_ARG := $(if $(NEED_LIB),$(LIBFILE),) # expands to lib path only when needed .PHONY: library -library: $(if $(NEED_LIB),$(LIBFILE),.remove_lib_if_exists) +library: $(if $(NEED_LIB),$(LIBFILE),.remove_lib_if_exists + +.PHONY: .remove_lib_if_exists +.remove_lib_if_exists: + @rm -f $(LIBFILE) +) ifneq ($(NEED_LIB),) $(LIBFILE): $(OBJECT_LIB) -- 2.20.1