Combine all of the above in a pan or pot. Mix it and allow it to cook on a medium flame.
Keep stirring it till this mixture starts to bubble and thicken up.
Once it start to separate from the sides of the pan, take it off the heat.
Immediately pour it on a greased pan (grease it with either ghee or melted butter) and spread it. Cut it into squares of required size while it is still warm.
Set it aside to cool. Once it has completely cooled, store it in an air tight container.