wallhaven_dl/Makefile
2023-10-22 14:40:26 -07:00

21 lines
316 B
Makefile

build: wallhaven_dl
wallhaven_dl: $(shell find . -name '*.go')
go build -o wallhaven_dl .
run:
go run main.go
tidy:
go mod tidy
clean:
rm -f wallhaven_dl
uninstall:
rm -f /usr/bin/wallhaven_dl
install:
cp wallhaven_dl /usr/bin
./wallhaven_dl completion zsh > /usr/share/zsh/site-functions/_wallhaven_dl