From febf61c4a0fe75408f37281d521dbd9c557c5b55 Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Fri, 20 Dec 2024 18:33:07 +0300 Subject: [PATCH] update make install command Signed-off-by: nyagamunene --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5d0a309..10085e8 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,7 @@ $(SERVICES): $(call compile_service,$(@)) install: - for file in $(wildcard $(BUILD_DIR)/*[!.wasm]); do \ - cp "$$file" "$(GOBIN)/propeller-$$(basename "$$file")"; \ - done + $(foreach f,$(wildcard $(BUILD_DIR)/*[!.wasm]),cp $(f) $(patsubst $(BUILD_DIR)/%,$(GOBIN)/propeller-%,$(f));) .PHONY: all $(SERVICES) all: $(SERVICES)