Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.0 KiB

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