REM REM Expects the name of the dll/def file to convert as argument and REM and suffix for the name (not the extension) as a second argument REM CALL "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" @ECHO EXPORTS > %1_%2.def @DUMPBIN /exports %1_%2.dll | sed -nf exports.sed >> %1_%2.def @lib /DEF:%1_%2.def /MACHINE:IX86 /OUT:%1_%2.lib @mt -manifest lapack.dll.manifest -outputresource:%1_%2.dll;2 @ECHO %1_%2.def created from %1_%2.dll