Create shgen.c