winemaker
Generate build files to port Windows source code to a Winelib application. tldr-pages
On Linux
Linux
Generate build files for a source tree (assumes a graphical application)
winemaker path/to/source_directoryIdentifyTreat the target as a console application
winemaker --console path/to/source_directoryIdentifyTreat the target as a DLL
winemaker --dll path/to/source_directoryIdentifyGenerate build files without modifying or renaming the original sources
winemaker --nosource-fix path/to/source_directoryIdentifyProcess a project that uses MFC
winemaker --mfc path/to/source_directoryIdentifyDisplay help
winemaker --helpIdentify