From 139e64d6825d6131f3495815b21a27b896f9d221 Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Wed, 8 May 2024 13:00:29 +0300 Subject: [PATCH] Added GO variable to Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20435ca..eead6c5 100644 --- a/Makefile +++ b/Makefile @@ -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)