31 lines
380 B
Batchfile
31 lines
380 B
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
if "%1" == "clean" goto CLEAN
|
|
if "%1" == "CLEAN" goto CLEAN
|
|
|
|
:BUILD
|
|
|
|
nmake /f makefile.vc %1 %2 %3 > make_vc.log
|
|
if errorlevel 1 goto BUILD_ERR
|
|
|
|
:BUILD_OK
|
|
|
|
copy ..\..\bin\vc\*.dll ..\..\bin\*.* > nul
|
|
copy ..\..\obj\vc\*.class ..\..\bin\*.* > nul
|
|
goto EXIT
|
|
|
|
:BUILD_ERR
|
|
|
|
notepad make_vc.log
|
|
goto EXIT
|
|
|
|
:CLEAN
|
|
|
|
goto EXIT
|
|
|
|
:EXIT
|
|
|