znc-buildmod compiles a ZNC module for you. You just give it a list of source files and every single file is compiled into a module.
Normally, exit status is 0 if everything went fine. In case the compiler errors when compiling some module, the exit status is 1.
may be used.