15 lines
348 B
Batchfile
15 lines
348 B
Batchfile
|
@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
|