Slice up the eggplant, tomatoes, onion, zucchini, and squash into ¼ inch slices.
In a 9x9 baking dish, add 1 ½ - 2 cups marinara sauce.
Layer vertically the eggplant, tomato, onion, zucchini, and squash in the dish until it is full.
Mince the garlic cloves, and sprinkle over the top of the dish along with the rosemary.
Cover with tin foil and bake at 375 degrees for 1 hour.
Sprinkle with fresh chopped basil and serve.