From 90faa529458dc3067cbb302ca65627464e47da75 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 25 Jan 2025 07:06:31 +0100 Subject: [PATCH] Makefile restructure and clean target --- rex_client/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rex_client/Makefile b/rex_client/Makefile index 6a46642..b15f637 100644 --- a/rex_client/Makefile +++ b/rex_client/Makefile @@ -1,8 +1,5 @@ NAME = rexclient -commit.txt: - go generate - run: commit.txt go run . @@ -11,3 +8,9 @@ debug: commit.txt build: commit.txt go build -tags no_emoji -trimpath -ldflags="-s -w" -buildvcs=false -o $(NAME) + +commit.txt: + go generate + +clean: + rm -f rexclient