In my opinion it is best to have a code repository (can be remote) managed by some revision control system and a separate working copy for each platform. This way you won't have problems with stale intermediate files from other platforms and at the same time your code will always be synced if you remember to commit all changes to the repository.