20 lines
247 B
Makefile
20 lines
247 B
Makefile
|
# dip Makefile
|
||
|
|
||
|
GOCMD=go
|
||
|
GOBUILDCMD=${GOCMD} build
|
||
|
GOOPTIONS=-mod=vendor
|
||
|
PACKRCMD=${GOPATH}/bin/packr2
|
||
|
|
||
|
SRCFILES=cmd/dip/*.go
|
||
|
|
||
|
all: build
|
||
|
|
||
|
build:
|
||
|
${GOPATH}/bin/packr2
|
||
|
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
|
||
|
|
||
|
clean:
|
||
|
rm -f dip
|
||
|
${PACKRCMD} clean
|
||
|
|