Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (30 sloc) 1.059 kb
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 @echo off
2
3 REM We need to set the PATH and a few other environment variables, but
4 REM only once!
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
5 if %INCLUDE%X==X call \msvc\bin\msvcvars
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
6 if %TMP%X==X set TMP=C:\
7
8 REM Copy the MS-DOS versions of the configuration files into the main
9 REM elvis source directory.
10 echo Configuring...
11 if not exist elvis.mak copy osmsdos\elvis.mak
12 if not exist ctags.mak copy osmsdos\ctags.mak
13 if not exist ref.mak copy osmsdos\ref.mak
14 if not exist fmt.mak copy osmsdos\fmt.mak
15 if not exist vi.mak copy osmsdos\vi.mak
16 if not exist config.h copy osmsdos\osconfig.h config.h
17
18 REM And one more for convenience!
19 if not exist make.bat copy makmsdos.bat make.bat
20
21 REM Make the programs
22 echo Compiling...
23 nmake /nologo /s /f elvis.mak DEBUG=0
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
24 if errorlevel 1 goto Fail
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
25 nmake /nologo /s /f ctags.mak DEBUG=0
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
26 if errorlevel 1 goto Fail
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
27 nmake /nologo /s /f ref.mak DEBUG=0
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
28 if errorlevel 1 goto Fail
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
29 nmake /nologo /s /f fmt.mak DEBUG=0
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
30 if errorlevel 1 goto Fail
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
31 nmake /nologo /s /f vi.mak DEBUG=0
32 copy vi.exe ex.exe
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
33 copy vi.exe view.exe
34
35 :Fail
Something went wrong with that request. Please try again.