Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Makefile to explain how to do this #1

Open
gaffo opened this issue Dec 13, 2014 · 2 comments
Open

Add Makefile to explain how to do this #1

gaffo opened this issue Dec 13, 2014 · 2 comments

Comments

@gaffo
Copy link

gaffo commented Dec 13, 2014

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!

@sarathsp06
Copy link

Same as @gaffo said please add MakeFile or README

@base698
Copy link

base698 commented Jul 28, 2016

You saved me with your command: go tool yacc -p Calc -o simple/calc.go simple/calc.y

Was building calc.go, but throwing errors about CalcSymType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants