Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (32 sloc) 1.309 kB
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 @echo off
2
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
3 echo Checking environment...
3a9bb55 @mbert Import Elvis 2.1_3 (written by Steve Kirkendall)
authored
4 if "%INCLUDE%"=="" goto EnvNeeded
5 echo Environment variables already set
6 goto EnvDone
7 :EnvNeeded
8 if exist \msdev\bin\vcvars32.bat call \msdev\bin\vcvars32
9 if exist "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat" call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32"
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
10 if "%INCLUDE%"=="" call vcvars32
3a9bb55 @mbert Import Elvis 2.1_3 (written by Steve Kirkendall)
authored
11 :EnvDone
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
12
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
13 echo Configuring...
14 if not exist make.bat copy makwin32.bat make.bat
15 if not exist ctags.mak copy oswin32\ctags.mak
16 if not exist elvis.mak copy oswin32\elvis.mak
17 if not exist elvisutl.mak copy oswin32\elvisutl.mak
18 if not exist fmt.mak copy oswin32\fmt.mak
19 if not exist ref.mak copy oswin32\ref.mak
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
20 if not exist winelvis.mak copy oswin32\winelvis.mak
21 if not exist wintags.mak copy oswin32\wintags.mak
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
22 if not exist config.h copy oswin32\osconfig.h config.h
23 if not exist WinRel\nul md WinRel
24
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
25 echo Compiling text-mode utilities...
26 nmake /nologo /s /f elvis.mak "CFG=elvis - Win32 Release"
27 if errorlevel 1 goto Fail
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
28 nmake /nologo /s /f elvisutl.mak
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
29 if errorlevel 1 goto Fail
30
31 echo Compiling graphical utilities...
32 nmake /nologo /s /f winelvis.mak CFG="WinElvis - Win32 Release"
33 if errorlevel 1 goto Fail
34 nmake /nologo /s /f wintags.mak CFG="WinTags - Win32 Release"
35 if errorlevel 1 goto Fail
36
37 :Fail
Something went wrong with that request. Please try again.