While the squash is cooking, prepare the rest of the ingredients. Finely chop the garlic, onion and carrot. Dice the tomato and eggplant.
Steam the eggplant for 15 minutes.
At the same time, fry the garlic and onion in a hot frying pan with a drizzle of olive oil.
Once the garlic and onion golden, add the carrot and stir regularly.
After 5 minutes, add the tomato and then the eggplant once the steaming is over (check with the tip of a knife).
Add the tomato sauce and simmer over very low heat, stirring regularly.