Could you make a makefile like:
all:
go tool yacc -p Calc -o simple/calc.go simple/calc.y
go fmt
go build simple
test:
go test
clean:
rm -rf simple/calc.go
Which will give an example of how to actually do this?
Also could you structure the project in the proper sturcture?
Othewise, THANKS!
Could you make a makefile like:
Which will give an example of how to actually do this?
Also could you structure the project in the proper sturcture?
Othewise, THANKS!