Add Makefile

This commit is contained in:
ferreo 2024-11-12 17:28:34 +01:00
parent 3ba3d6dfae
commit 4b075b76f2

7
Makefile Normal file
View File

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