Heat the olive oil over medium heat in a large skillet, then add the garlic. Stir and let cook just a minute then add the tomatoes. Rinse the tomato can out with about a cup of water and add that to the pan. Sprinkle in the red pepper flakes and salt, then add the basil and stir it all together.
Simmer about 15 minutes, stirring now and then. Discard the basil before serving.
This makes enough for 1 pound of pasta, about 3 1/2 cups.