updated Makefile

This commit is contained in:
Paul 2020-02-16 11:52:04 +01:00
parent 1140d2fb84
commit a7d0147d97

View File

@ -1,11 +1,10 @@
# weather Makefile # weather Makefile
PROJECT=weather
GOCMD=go GOCMD=go
GOBUILDCMD=${GOCMD} build GOBUILDCMD=${GOCMD} build
GOOPTIONS=-mod=vendor -ldflags="-s -w" GOOPTIONS=-mod=vendor -ldflags="-s -w" -o ${PROJECT}
RMCMD=/bin/rm
RMCMD=rm
BINNAME=weather
SRCFILES=cmd/weather/*.go SRCFILES=cmd/weather/*.go
@ -15,4 +14,4 @@ build:
${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES} ${GOBUILDCMD} ${GOOPTIONS} ${SRCFILES}
clean: clean:
${RMCMD} -f ${BINNAME} ${RMCMD} ${PROJECT}