fix makefile to properly autobuild

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-08 12:02:19 -05:00
parent 9bb7021787
commit 93698fb6b3
1 changed files with 9 additions and 3 deletions

View File

@ -1,10 +1,16 @@
# init the go mod files
init:
go mod init go-notify-helloworld
all: go.mod
go mod tidy
go build
# init the go mod files
go.mod:
go mod init go-notify-helloworld
build:
go build
run:
./go-notify-helloworld
clean:
rm -f go.* go-notify-helloworld