9c94426d7a
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@988 6ac86273-5f31-0410-b378-82cca8765d1b
46 lines
668 B
Batchfile
46 lines
668 B
Batchfile
@echo off
|
|
|
|
:- batch file to clean and clobber everything
|
|
:- $Id$
|
|
|
|
if "%1" == "" %0 clean
|
|
goto %1
|
|
goto end
|
|
|
|
:clean
|
|
:clobber
|
|
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
|
|
|
|
call config.bat
|
|
if not "%LAST%" == "" call defaults.bat
|
|
if "%LAST%" == "" goto end
|
|
|
|
cd utils
|
|
call %MAKE% %1
|
|
|
|
cd ..\lib
|
|
call %MAKE% %1
|
|
|
|
cd ..\drivers
|
|
call %MAKE% %1
|
|
|
|
cd ..\boot
|
|
call %MAKE% %1
|
|
|
|
cd ..\sys
|
|
call %MAKE% %1
|
|
|
|
cd ..\kernel
|
|
call %MAKE% %1
|
|
|
|
cd ..\hdr
|
|
if exist *.bak del *.bak>nul
|
|
|
|
cd ..
|
|
if exist *.bak del *.bak>nul
|
|
if "%1"=="clobber" if exist status.me del status.me>nul
|
|
|
|
:end
|
|
defaults.bat clearset
|