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