Boil salted water in a pot
Cook macaroni until al dente
Drain the pasta
Melt butter in a saucepan
Whisk in flour and cook briefly
Slowly add milk while whisking
Cook until the sauce thickens
Stir in shredded cheese until melted
Add salt and pepper to taste
Mix the cheese sauce with the pasta
Serve hot
