git clone git://repo.or.cz/sgc2.git
You can download Praat source from:
http://www.fon.hum.uva.nl/praat/download_sources.html
A Praat git repository can be cloned from (this is always the latest Praat version):
git clone git://uvafon.hum.uva.nl/praat_sources
Name the directory with the Praat source praat_sources (the downloads from www.praat.org have version numbers in them).
You can put those two local repositories, sgc2 and praat_sources, side by side or put praat_sources inside sgc2
For building on the Mac you will need to download the Praat project file from (see section 5.):
http://www.fon.hum.uva.nl/praat/download_sources.html
Put the Mac project file inside the praat_sources directory. See the instructions on the Praat source page for disabling code signing.
When the above is ready, in a terminal window, cd into the sgc2 directory and enter
make
The SpeakGoodChinese App can be found in the sgc2/praat_module when it finishes. For cross-compilation to windows, visit this page: http://www.fon.hum.uva.nl/rob/CompilingPraatOnXP.html It also tells you how to cross-compile under Linux. The Windows binary of SpeakGoodChinese will be built if there is a directory named praat_mingw present with the correct setup. Basically, if you can builtdPraat binaries, you should be able to build SpeakGoodChiense. You can look into the Praat page for compiling sources for additional information if things do not work out.