Mercurial > codedump
diff mmltonsf.bat @ 41:37f231f85a67
add tabs to some c++ files and fix win95kg.cpp
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 30 Jun 2021 02:38:59 -0400 |
parents | 002a5dbce627 |
children |
line wrap: on
line diff
--- a/mmltonsf.bat Mon Jun 21 15:16:15 2021 -0400 +++ b/mmltonsf.bat Wed Jun 30 02:38:59 2021 -0400 @@ -1,30 +1,31 @@ @echo off +REM - Usage if "%1" == "" ( -echo usage: compile.bat ^<input^> -exit /b + echo usage: compile.bat ^<input^> + exit /b ) REM - Compile MML del /f effect.h ppmckc.exe -i "%1" if not exist "effect.h" ( -echo ppmckc ERROR -exit /b + echo ppmckc ERROR + exit /b ) REM - Assemble del /f ppmck.nes nesasm -s -raw ppmck.asm if not exist "ppmck.nes" ( -echo nesasm ERROR -del /f "%~n1" effect.h define.inc -exit /b + echo nesasm ERROR + del /f "%~n1" effect.h define.inc + exit /b ) -REM - Move files and such +REM - Move files move /y ppmck.nes "%~n1.nsf" echo %~n1.nsf written REM - Cleanup -del /f "%~n1".h effect.h define.inc \ No newline at end of file +del /f "%~n1".h effect.h define.inc