Speed up lammps compilation

Dear all,

Just recently I’ve started to write my own fix for lammps. I’m rather new to cpp, usually I’m using C but my first impression is that it doesn’t actually matter since the source looks very familiar to C or OOC, there’s only very little cpp-style. Still, the framework is new to me and I do a lot of mistakes.
So I was wondering if there is a way to speed up the compilation time for lammps. I’ve already excluded all packages I don’t need and of course I’m using all my procs for compilation. Still, it feels like eternity until the compilation arrives at my source and reports my mistakes. Is there a way (aside from learning programming properly) to avoid most of the time waiting for the compiler?

Best regards,
frank.