forked from AgileEhsan/winasm-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
23 lines (20 loc) · 795 Bytes
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cls
set INCLUDE=C:\masm32\include
set LIB=C:\masm32\lib
set LIBPATH=C:\masm32\lib
set MASM=C:\masm32\bin
set PATH=C:\masm32\bin;%PATH%
if exist WinAsm.exe del WinAsm.exe
if exist WinAsm.obj del WinAsm.obj
if exist Resource.res del Resource.res
if exist Resource.obj del Resource.obj
rc /v /I%INCLUDE% Resource.rc
cvtres /machine:ix86 Resource.RES
ML /c /coff /Cp /nologo /Fm /Zi /Zd /I%INCLUDE% WinAsm.asm
ML /c /coff /Cp /nologo /Fm /Zi /Zd /I%INCLUDE% modMisc.asm
ML /c /coff /Cp /nologo /Fm /Zi /Zd /I%INCLUDE% modFileIO.asm
Link /SUBSYSTEM:WINDOWS /DEBUG /VERSION:4.0 "/LIBPATH:%LIBPATH%" WinAsm.obj modMisc.obj modFileIO.obj Resource.res
if exist WinAsm.obj del WinAsm.obj
if exist Resource.obj del Resource.obj
if exist Resource.res del Resource.res
pause