I am using an M1 powered mac. I am trying to use makefile in a project and to my surprise, no matter what I do it ends being a missing separator error. my Makefile below won't run no matter what. I have used textedit, vscode and IntelliJ. Same result. I have event picked a tutorial online copy pasted their makefile content (the hello example)https://tutorialedge.net/golang/makefiles-for-go-developers/ hoping that I am the one not conversant with the syntax.
hello:
echo "Something"
#build:
#. go build -o bin/apigateway
#run: build
#. ./bin/apigateway
#test:
#. go test -v ./..
I checked the version and bellow is the response
make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
I am actually really confused . What am I possibly missing?