An adult presented with hematemesis and upper abdominal pain. Endoscopy revealed a growth at the pyloric antrum of the stomach. CT scan showed growth involving the pyloric antrum without infiltration or invasion into surrounding structures and no evidence of distant metastasis. At laparotomy the neoplastic growth was observed to involve the posterior wall of the stomach and the pancreas, extending 6 cm up to the tail of the pancreas. What will be the most appropriate surgical management?