As is written in the guides you can use winemaker to e.g. import a visual studio project and create makefiles. Another way is to create gnu makefiles which you use to compile your app using mingw on windows. When it compiles you can replace the mingw gcc in the makefile with winegcc / wineg++ and it will work fine.