mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-27 07:44:09 +02:00
explicitly use .bat for call, etc., otherwise 4DOS doesn't like us...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@836 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
29bcbde334
commit
03138b0ed4
@ -6,7 +6,7 @@
|
|||||||
:- Syntax: BUILD [-r] [fat32|fat16] [msc|wc|tc|tcpp] [86|186|386]
|
:- Syntax: BUILD [-r] [fat32|fat16] [msc|wc|tc|tcpp] [86|186|386]
|
||||||
:- option case is significant !!
|
:- option case is significant !!
|
||||||
|
|
||||||
if "%1" == "-r" call clobber
|
if "%1" == "-r" call clobber.bat
|
||||||
if "%1" == "-r" shift
|
if "%1" == "-r" shift
|
||||||
|
|
||||||
set XERROR=
|
set XERROR=
|
||||||
@ -14,7 +14,7 @@ set XERROR=
|
|||||||
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
||||||
if not exist config.bat goto abort
|
if not exist config.bat goto abort
|
||||||
|
|
||||||
call config
|
call config.bat
|
||||||
|
|
||||||
:-----------------------------------------------------------------------
|
:-----------------------------------------------------------------------
|
||||||
:- following is command line handling
|
:- following is command line handling
|
||||||
@ -41,7 +41,7 @@ if not "%1" == "" goto loop_commandline
|
|||||||
if "%COMPILER%" == "" echo you MUST define a COMPILER variable in CONFIG.BAT
|
if "%COMPILER%" == "" echo you MUST define a COMPILER variable in CONFIG.BAT
|
||||||
if "%COMPILER%" == "" goto abort
|
if "%COMPILER%" == "" goto abort
|
||||||
|
|
||||||
call default
|
call default.bat
|
||||||
|
|
||||||
:-----------------------------------------------------------------------
|
:-----------------------------------------------------------------------
|
||||||
:- finally - we are going to compile
|
:- finally - we are going to compile
|
||||||
@ -109,4 +109,4 @@ echo Compilation was aborted!
|
|||||||
set XERROR=1
|
set XERROR=1
|
||||||
|
|
||||||
:end
|
:end
|
||||||
default clearset
|
default.bat clearset
|
||||||
|
@ -79,7 +79,7 @@ if exist %TempSumfile% del %TempSumfile%
|
|||||||
>ktemp.bat
|
>ktemp.bat
|
||||||
for %%i in (bin\k*.map) do echo call %0 $SUMMARY %%i >>ktemp.bat
|
for %%i in (bin\k*.map) do echo call %0 $SUMMARY %%i >>ktemp.bat
|
||||||
sort <ktemp.bat >ktemps.bat
|
sort <ktemp.bat >ktemps.bat
|
||||||
call ktemps
|
call ktemps.bat
|
||||||
del ktemp.bat
|
del ktemp.bat
|
||||||
del ktemps.bat
|
del ktemps.bat
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
||||||
if not exist config.bat goto end
|
if not exist config.bat goto end
|
||||||
|
|
||||||
call config
|
call config.bat
|
||||||
call default
|
call default.bat
|
||||||
|
|
||||||
cd utils
|
cd utils
|
||||||
%MAKE% clean
|
%MAKE% clean
|
||||||
@ -34,4 +34,4 @@ cd ..
|
|||||||
if exist *.bak del *.bak
|
if exist *.bak del *.bak
|
||||||
|
|
||||||
:end
|
:end
|
||||||
default clearset
|
default.bat clearset
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
||||||
if not exist config.bat goto end
|
if not exist config.bat goto end
|
||||||
|
|
||||||
call config
|
call config.bat
|
||||||
call default
|
call default.bat
|
||||||
|
|
||||||
cd utils
|
cd utils
|
||||||
%MAKE% clobber
|
%MAKE% clobber
|
||||||
@ -35,4 +35,4 @@ if exist *.bak del *.bak
|
|||||||
if exist status.me del status.me
|
if exist status.me del status.me
|
||||||
|
|
||||||
:end
|
:end
|
||||||
default clearset
|
default.bat clearset
|
||||||
|
Loading…
x
Reference in New Issue
Block a user