Get on you tube and you will find a gazillion videos showing how to make a mortise with a router. The tenons can be made with a long stick of wood on a table saw. Make a long strip to fit the dimensions you need the tenon to be and then cross cut them to length.
Tony B Retired woodworker, among other things.
"Strive for excellence and settle for completion" Tony B