compile_no_exe.bat 437 B

1234567891011121314
  1. @ECHO OFF
  2. REM This script is run by Free Oberon on Windows.
  3. REM Current directory of the script will be where
  4. REM FreeOberon.exe is located.
  5. REM This particular script is for compilation with no executable.
  6. CD bin >nul 2>&1
  7. @DEL /s %~n1.exe >nul 2>&1
  8. SET CURDIR=%~dp0
  9. SET PATH=%CURDIR%voc\bin;%CURDIR%mingw32\bin;%PATH%
  10. ECHO ON
  11. @CALL voc -OC -cfFm ..\Programs\%1
  12. @SET MYEXITCODE=%ERRORLEVEL%
  13. @ECHO OFF
  14. EXIT /b %MYEXITCODE%