Hi Darwin, "for selling" is not the correct word choice. The word choice you're looking for is "for sale".
The word sell is refers to the act of giving or handing something over in exchange for cash. Sale is also the process of selling.
"I made a cake to sell to my friends" would be correct.
Should you require more assistance, send me a message. I am a native English speaker who is studying towards her TEFL.