14 lines
502 B
Batchfile
14 lines
502 B
Batchfile
@echo off
|
|
set MASM_PATH=D:\MASM32\masm32
|
|
echo Assembling poker.asm...
|
|
"%MASM_PATH%\bin\ml.exe" /c /coff /Cp /nologo /I. /I"%MASM_PATH%\include" poker.asm
|
|
if errorlevel 1 goto err
|
|
echo Linking poker.obj...
|
|
"%MASM_PATH%\bin\link.exe" /SUBSYSTEM:CONSOLE /RELEASE /VERSION:4.0 /LIBPATH:"%MASM_PATH%\lib" /OUT:poker.exe poker.obj kernel32.lib winmm.lib user32.lib ws2_32.lib gdi32.lib
|
|
if errorlevel 1 goto err
|
|
echo [SUCCESS] poker.exe built successfully!
|
|
goto end
|
|
:err
|
|
echo [ERROR] Build failed!
|
|
pause
|
|
:end
|