blob: c5eee8c21cd1cccd0e3b630980d68e1005586958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
@echo off
echo '
echo Building Resources...
rc /r /fo ".\DspControl.res" ..\res\DspControl.rc
echo '
echo Building ANSI version...
\masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\ANSI\DspControl.dll" DspControl.obj DspControl.res
if errorlevel 1 goto errlink
echo '
echo Building Unicode version...
\masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\Unicode\DspControl.dll" DspControl.obj DspControl.res
if errorlevel 1 goto errlink
echo '
echo Done.
goto TheEnd
:errasm
echo '
echo Assembly Error
goto TheEnd
:errlink
echo '
echo Link Error
:TheEnd
pause
|