~fmac/corylus

a347a311f6a328ba1918ff1e2300d4c7c3318757 — Francesco Camuffo 3 years ago 95a3feb 0.1.0
Add Makefile
1 files changed, 26 insertions(+), 0 deletions(-)

A Makefile
A Makefile => Makefile +26 -0
@@ 0,0 1,26 @@
.POSIX:
.SUFFIXES:

export GO111MODULE=on

GO = go
RM = rm
GOFLAGS =
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin

goflags = $(GOFLAGS)

all: corylus

corylus:
	$(GO) build $(goflags) .

clean:
	$(RM) -rf corylus

install:
	mkdir -p $(DESTDIR)$(BINDIR)
	cp -f corylus $(DESTDIR)$(BINDIR)

.PHONY: corylus clean install