You can create a Makefile where you can set flags for the specific version. I am guessing since you are new you won't be needing more than one source file. So writing your own Makefile won't be difficult.