Add basefilename as parameter to generateTargetCode

See https://github.com/swp-uebersetzerbau-ss13/common/issues/11