2000-05-06 21:34:20 +02:00
|
|
|
@echo off
|
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
:- batch file to clean and clobber everything
|
2004-03-27 02:42:33 +01:00
|
|
|
:- $Id$
|
2000-05-06 21:34:20 +02:00
|
|
|
|
2004-07-09 04:16:31 +02:00
|
|
|
if "%1" == "" %0 clean
|
|
|
|
goto %1
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:clean
|
|
|
|
:clobber
|
2004-03-27 02:42:33 +01:00
|
|
|
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
|
2000-05-06 21:34:20 +02:00
|
|
|
|
2004-03-27 13:13:10 +01:00
|
|
|
call config.bat
|
2004-07-09 04:16:31 +02:00
|
|
|
if not "%LAST%" == "" call defaults.bat
|
|
|
|
if "%LAST%" == "" goto end
|
2000-05-06 21:34:20 +02:00
|
|
|
|
2001-11-04 20:47:39 +01:00
|
|
|
cd utils
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2001-11-04 20:47:39 +01:00
|
|
|
|
|
|
|
cd ..\lib
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..\drivers
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..\boot
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..\sys
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..\kernel
|
2004-07-09 04:16:31 +02:00
|
|
|
call %MAKE% %1
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..\hdr
|
2004-07-09 04:16:31 +02:00
|
|
|
if exist *.bak del *.bak>nul
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
cd ..
|
2004-07-09 04:16:31 +02:00
|
|
|
if exist *.bak del *.bak>nul
|
|
|
|
if "%1"=="clobber" if exist status.me del status.me>nul
|
2000-05-06 21:34:20 +02:00
|
|
|
|
|
|
|
:end
|
2004-07-09 04:16:31 +02:00
|
|
|
defaults.bat clearset
|