Most interesting for you here is not the source code, but configs in .mainframer
folder.
This is a very common setup for Clang project, but of course you might need to tune some ignore configs for your project.
$ bash mainframer.sh clang sample.c -o sample
Or any other Clang build task you want.
Clang installed on remote machine.