brakes giving me a headache!

so i put new calipers new wheel cylinders and new brake lines on (except the one that goes behind the engine but it doesent leak) and i cant get a firm pedal for the life of me. im thinking its possibly the master cylinder but i really dont know at this point. ive bled and bled and bled. ive bled the master cylinder too. any help would be great.