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 all: go.mod
init:
go mod init go-notify-helloworld
go mod tidy go mod tidy
go build
# init the go mod files
go.mod:
go mod init go-notify-helloworld
build: build:
go build go build
run: run:
./go-notify-helloworld ./go-notify-helloworld
clean:
rm -f go.* go-notify-helloworld