Create generate.c