add make generate to build