updated Makefile
This commit is contained in:
parent
1140d2fb84
commit
a7d0147d97
9
Makefile
9
Makefile
@ -1,11 +1,10 @@
|
||||
# weather Makefile
|
||||
|
||||
PROJECT=weather
|
||||
GOCMD=go
|
||||
GOBUILDCMD=${GOCMD} build
|
||||
GOOPTIONS=-mod=vendor -ldflags="-s -w"
|
||||
|
||||
RMCMD=rm
|
||||
BINNAME=weather
|
||||
GOOPTIONS=-mod=vendor -ldflags="-s -w" -o ${PROJECT}
|
||||
RMCMD=/bin/rm
|
||||
|
||||
SRCFILES=cmd/weather/*.go
|
||||
|
||||
@ -15,4 +14,4 @@ build:
|
||||
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
|
||||
|
||||
clean:
|
||||
${RMCMD} -f ${BINNAME}
|
||||
${RMCMD} ${PROJECT}
|
||||
|
Loading…
Reference in New Issue
Block a user