Added GO variable to Makefile
This commit is contained in:
parent
0608d1b84b
commit
139e64d682
5
Makefile
5
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user