UCPP is an awesome project. It integrates especially well on unix-like OSes (on windows it requires cygwin or msysgit and windriver).
https://github.com/nikitakit/ucpp
Set it up:
$ ucpp setup -t XXYY
This way, just do this:
$ mkdir code
$ cd code
$ ucpp init
//add files, make changes, etc.
$ ucpp configure
$ make
$ make deploy