People flee Mexico because it's an extremely poor country with a horrible government and is controlled by drug cartels. Screwing the country over further economically sounds like the worst way to solve this problem. In fact, it seems like a very good way to exacerbate the problem.
Perhaps that's why private prison stocks are up so much on Trump's election. His actions are clearly going to increase the flow of illegal immigrants into the US, and now that these people can be tossed into federal prison for mandatory minimum sentences. So the end result is, the federal government will be on the hook for something like a quarter million dollars for each one of the people caught crossing the border.
Trump just created a (12 million illegal immigrants * $250k/yr each * 5yr minimum sentences = $15 trillion) market.