Add first 8 ingredients to a medium-sized stock pot and simmer until vegetables are tender. In a separate bowl, whisk together flour and milk; add to pot and heat until thickened. Stir in cheese and ham/beef until heated through and cheese is melted.