summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow16/write/kmakend.bat
blob: 9648ee96e08ce281e1a2387a6f61786989aac6de (plain) (blame)
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
37
38
39
40
41
42
echo off
:origin
:noshort
if "%1"=="-u" goto update
if "%1"=="-e" goto doecho
if "%1"=="-k" goto nobreak
if "%1"==""   goto breakok
echo usage: kmake {-u}{-e}{-k}
goto finis
:update
:realupd
echo *** Updating From Net
ssync
echo *** Update Complete
:nonetfile
shift
goto origin
:nobreak
del z-.msg
ren z.msg z-.msg
echo *** Starting Make. Make will not stop for compiler errors (DEBUG OFF)
make -k "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86"  >z.msg
goto finis
:doecho
echo *** Starting Make. Make will not stop for compiler errors (DEBUG OFF)
make -k "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86"
echo on
goto realfinis
:breakok
del z-.msg
ren z.msg z-.msg
echo *** Starting Make. MAKE WILL STOP FOR ALL ERRORS (DEBUG OFF)
make "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86" >z.msg
:finis
echo on
:realfinis
if ERRORLEVEL 1 goto badend
echo *** Make complete.
goto theend
:badend
echo *** Errors found during make. 
:theend