If you are feeding birds, you will always attract squirrels As an alternative you may want to offer them their own squirrel feeder filled with peanuts, cracked corn, seed, and/or dried fruit.