Makefile restructure and clean target

This commit is contained in:
Imbus 2025-01-25 07:06:31 +01:00
parent 81839cd119
commit 90faa52945

View file

@ -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