mirror of https://github.com/FDOS/kernel.git
76 lines
1.4 KiB
Batchfile
76 lines
1.4 KiB
Batchfile
@echo off
|
|
|
|
rem batch file to build everything
|
|
|
|
rem $Id$
|
|
|
|
rem $Log$
|
|
rem Revision 1.1 2000/05/06 19:34:02 jhall1
|
|
rem Initial revision
|
|
rem
|
|
rem Revision 1.5 1999/08/25 03:59:14 jprice
|
|
rem New build batch files.
|
|
rem
|
|
rem Revision 1.4 1999/08/25 03:38:16 jprice
|
|
rem New build config
|
|
rem
|
|
rem Revision 1.3 1999/04/23 03:46:02 jprice
|
|
rem Improved by jprice
|
|
rem
|
|
rem Revision 1.2 1999/04/17 19:13:29 jprice
|
|
rem ror4 patches
|
|
rem
|
|
rem Revision 1.1.1.1 1999/03/29 15:39:13 jprice
|
|
rem New version without IPL.SYS
|
|
rem
|
|
rem Revision 1.5 1999/02/09 04:47:54 jprice
|
|
rem Make makefile use common config.mak file
|
|
rem
|
|
rem Revision 1.4 1999/01/30 08:29:10 jprice
|
|
rem Clean up
|
|
rem
|
|
rem Revision 1.3 1999/01/30 07:49:16 jprice
|
|
rem Clean up
|
|
rem
|
|
|
|
if not exist config.bat goto noconfigbat
|
|
if not exist config.mak goto noconfigmak
|
|
goto start
|
|
|
|
:noconfigbat
|
|
echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
|
|
goto end
|
|
|
|
:noconfigmak
|
|
echo You must copy CONFIG.M to CONFIG.MAK and edit it to reflect your setup!
|
|
goto end
|
|
|
|
:start
|
|
call config.bat
|
|
|
|
cd lib
|
|
%MAKE% -flibm.mak
|
|
if errorlevel 1 goto abort
|
|
|
|
cd ..\drivers
|
|
%MAKE% -fdevice.mak production
|
|
if errorlevel 1 goto abort
|
|
|
|
cd ..\boot
|
|
%MAKE% -fboot.mak production
|
|
if errorlevel 1 goto abort
|
|
|
|
cd ..\sys
|
|
%MAKE% -fbin2c.mak production
|
|
if errorlevel 1 goto abort
|
|
%MAKE% -fsys.mak production
|
|
if errorlevel 1 goto abort
|
|
|
|
cd ..\kernel
|
|
%MAKE% -fkernel.mak production
|
|
|
|
:abort
|
|
cd ..
|
|
:end
|
|
set MAKE=
|