dip/Makefile
2020-02-04 18:39:44 +01:00

20 lines
264 B
Makefile

# dip Makefile
GOCMD=go
GOBUILDCMD=${GOCMD} build
GOOPTIONS=-mod=vendor -ldflags="-s -w"
PACKRCMD=${GOPATH}/bin/packr2
SRCFILES=cmd/dip/*.go
all: build
build:
${GOPATH}/bin/packr2
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
clean:
rm -f dip
${PACKRCMD} clean