Files
harbour-core/harbour/make_b16.bat
2000-03-07 16:41:33 +00:00

35 lines
490 B
Batchfile

@echo off
rem
rem $Id$
rem
if "%1" == "clean" goto CLEAN
if "%1" == "CLEAN" goto CLEAN
:BUILD
make -fmakefile.bc -DB16 %1 %2 %3 > make_b16.log
if errorlevel 1 goto BUILD_ERR
:BUILD_OK
copy bin\b16\*.exe bin\ > nul
copy lib\b16\*.lib lib\ > nul
goto EXIT
:BUILD_ERR
edit make_b16.log
goto EXIT
:CLEAN
echo Y | del bin\b16\*.* > nul
echo Y | del obj\b16\*.* > nul
echo Y | del lib\b16\*.* > nul
echo Y | del make_b16.log > nul
goto EXIT
:EXIT