GM - Go auto makerMake sure you Go toolchain is correct work. Bootstrapsvn checkout http://moogle-store.googlecode.com/svn/trunk/study/gm gm
cd gm
mkdir bin; 6g gm.go ; 6l -o bin/gm gm.6; rm gm.6
bin/gm See README file for other information Why I write this toolI think people may struggle on understand Makefile .. hope this can make go programming easier at lease for learning Go. Just for a hobby project, I decide to write a Go maker to let it works just out-of-box. For programmers from Java, especially no C/C++ background, is hard to understand how Makefile works. Since Go is such a simple language, why not just write a simple tool to do most javac can do ? Esepcially, package mangement is not a trivial to do for a starter. Note. I only test on OSX 10.6. (amd64)
|