dip/Makefile

20 lines
264 B
Makefile
Raw Normal View History

2020-01-27 21:16:08 +01:00
# dip Makefile
GOCMD=go
GOBUILDCMD=${GOCMD} build
2020-02-04 18:39:44 +01:00
GOOPTIONS=-mod=vendor -ldflags="-s -w"
2020-01-27 21:16:08 +01:00
PACKRCMD=${GOPATH}/bin/packr2
SRCFILES=cmd/dip/*.go
all: build
build:
${GOPATH}/bin/packr2
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
clean:
rm -f dip
${PACKRCMD} clean