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