18 lines
226 B
Makefile
18 lines
226 B
Makefile
|
# pki Makefile
|
||
|
|
||
|
GOCMD=go
|
||
|
GOBUILDCMD=${GOCMD} build
|
||
|
GOOPTIONS=-mod=vendor -ldflags="-s -w"
|
||
|
|
||
|
RMCMD=rm
|
||
|
BINNAME=pki
|
||
|
|
||
|
SRCFILES=cmd/pki/*.go
|
||
|
|
||
|
all: build
|
||
|
|
||
|
build:
|
||
|
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
|
||
|
|
||
|
clean:
|
||
|
${RMCMD} -f ${BINNAME}
|