Added GO variable to Makefile

This commit is contained in:
CapCreeperGR 2024-05-08 13:00:29 +03:00
parent 0608d1b84b
commit 139e64d682

View File

@ -7,10 +7,13 @@ endif
ifeq ($(SYSCONFDIR),)
SYSCONFDIR := $(PREFIX)/etc
endif
ifeq ($(GO),)
GO := /usr/bin/go
endif
build:
mkdir -p build
go build -o build/stormfetch stormfetch
$(GO) build -o build/stormfetch stormfetch
install: build/stormfetch config/
mkdir -p $(DESTDIR)$(BINDIR)