Heat a saucepan on a stovetop, and once the pan is hot, add all the other ingredients and start toasting the spices.
You want to stir the spices occasionally so nothing gets burned. This process takes about 2-4 minutes if your pan was hot to start with.
Look at the picture I've included to see when to stop roasting.
Pour the toasted spices into a wide plate and let the ingredients cool. Do not rush this process because if you try to grind hot spices, you will have a paste, not a powder.
Once the spices have cooled, use a good coffee blender and grind the ingredients to a coarse powder.