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)