~fmac/dracaena

0d86268bd88f783f09895c2a8c46ee487dcbce42 — Francesco Camuffo a month ago 4775295 main 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: dracaena

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

clean:
	$(RM) -rf dracaena

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

.PHONY: dracaena clean install