Generate .spl if it doesn't exist.