Creates MinGW compatible library files of the Python DLL using gendef/dlltool, for people too lazy to cross compile python.
Python source: https://www.python.org/downloads/source/
- Python 3.6.x Win64 and 32 variants (Only tested 64bit)
- gendef (part of MinGW)
- dlltool (so is this)
- Python 2(+)
make PREFIX={INSTALL_FOLDER} GENDEF={FULL_PATH_TO_GENDEF} DLLTOOL={FULL_PATH_TO_DLLTOOL}
INSTALL_FOLDER
should probably be your MinGW prefix (where lib/include folders are)