FreeDOS/clobber.bat

71 lines
1.3 KiB
Batchfile
Raw Normal View History

@echo off
rem batch file to clobber everything
rem $Id$
rem $Log$
rem Revision 1.4 2001/03/22 04:13:30 bartoldeman
rem Change LF to CR/LF in batch files.
rem
rem Revision 1.3 2000/05/25 20:56:19 jimtabor
rem Fixed project history
rem
rem Revision 1.2 2000/05/14 17:06:17 jimtabor
rem Cleanup CRs
rem
rem Revision 1.1.1.1 2000/05/06 19:34:53 jhall1
rem The FreeDOS Kernel. A DOS kernel that aims to be 100% compatible with
rem MS-DOS. Distributed under the GNU GPL.
rem
rem Revision 1.3 1999/08/25 03:59:14 jprice
rem New build batch files.
rem
rem Revision 1.2 1999/08/10 18:34:06 jprice
rem case
rem
rem Revision 1.1 1999/04/23 03:47:19 jprice
rem Initial include
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 clobber
cd ..\drivers
%MAKE% -fdevice.mak clobber
cd ..\boot
%MAKE% -fboot.mak clobber
cd ..\sys
%MAKE% -fbin2c.mak clobber
%MAKE% -fsys.mak clobber
cd ..\kernel
%MAKE% -fkernel.mak clobber
cd ..\hdr
del *.bak
cd ..
del *.bak
del status.me
:end
set MAKE=