qrz/Makefile

20 lines
257 B
Makefile
Raw Normal View History

2020-01-29 12:25:06 +01:00
# qrz Makefile
GOCMD=go
GOBUILDCMD=${GOCMD} build
2020-02-04 18:41:12 +01:00
GOOPTIONS=-mod=vendor -ldflags="-s -w"
2020-01-29 12:25:06 +01:00
PACKRCMD=${GOPATH}/bin/packr2
RMCMD=rm
BINNAME=qrz
SRCFILES=cmd/qrz/*.go
all: build
build:
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
clean:
${RMCMD} -f ${BINNAME}