ezpp-oppai-ap/libbuild.bat

15 lines
348 B
Batchfile
Raw Normal View History

2021-06-25 18:26:13 +00:00
@echo off
del oppai.dll >nul 2>&1
del oppai.obj >nul 2>&1
del oppai.exp >nul 2>&1
echo compiling
cl ^
/c /O2 /nologo /Gm- /GR- /EHsc /W4 /Gz ^
/D_CRT_SECURE_NO_WARNINGS=1 /DNOMINMAX=1 ^
/DOPPAI_EXPORT /D_WINDLL /D_USRDLL ^
oppai.c ^
|| EXIT /B 1
echo making dll
link /OUT:oppai.dll /IMPLIB:oppai.lib /NOLOGO /DLL oppai.obj