@ECHO OFF
IF EXIST ..\libmikmod\Makefile GOTO BUILD
CALL configure.cmd
:BUILD
CD ..\libmikmod
@MAKE@ %1
IF ERRORLEVEL 1 GOTO ERROR
CD ..\os2
ECHO Compilation finished.
GOTO END
:ERROR
CD ..\os2
ECHO Compilation aborted !
:END
