From 4b075b76f2f450613a609f19bc2879abb31c73f3 Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 12 Nov 2024 17:28:34 +0100 Subject: [PATCH] Add Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6801968 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +all: + true + +install: + mkdir -p $(DESTDIR)/usr/bin/ + GOAMD=v3 go build -ldflags="-s -w" -x -o $(DESTDIR)/usr/bin/walker -buildvcs=false ./cmd/walker.go + chmod 755 $(DESTDIR)/usr/bin/walker \ No newline at end of file