Put the garlic, basil and ½ cup of olive oil into a food processor and blend until smooth. Add the almonds, pine nuts, parmesan, salt and pepper and pulse until the mixture is chunky, adding more olive oil if you like a runnier texture. Taste and adjust the seasoning if necessary.