|
@@ -2,6 +2,7 @@
|
|
REM This script is run by Free Oberon on Windows. Current directory of the
|
|
REM This script is run by Free Oberon on Windows. Current directory of the
|
|
REM script will be where FreeOberon.exe is located. This particular script
|
|
REM script will be where FreeOberon.exe is located. This particular script
|
|
REM is for graphical programs.
|
|
REM is for graphical programs.
|
|
|
|
+
|
|
CD bin >nul 2>&1
|
|
CD bin >nul 2>&1
|
|
@DEL /s %~n1.exe >nul 2>&1
|
|
@DEL /s %~n1.exe >nul 2>&1
|
|
SET CURDIR=%~dp0
|
|
SET CURDIR=%~dp0
|
|
@@ -24,6 +25,7 @@ GOTO START
|
|
:FINISH
|
|
:FINISH
|
|
REM END Put all ARGS.
|
|
REM END Put all ARGS.
|
|
ECHO ON
|
|
ECHO ON
|
|
|
|
+
|
|
%CC% -g3 -O0 -fno-exceptions ^
|
|
%CC% -g3 -O0 -fno-exceptions ^
|
|
-I %OFRDIR%\..\..\Mod\Lib ^
|
|
-I %OFRDIR%\..\..\Mod\Lib ^
|
|
-I %OFRDIR%\Lib\Obj ^
|
|
-I %OFRDIR%\Lib\Obj ^
|
|
@@ -33,4 +35,5 @@ ECHO ON
|
|
%OFRDIR%\Lib\Ofront.a ^
|
|
%OFRDIR%\Lib\Ofront.a ^
|
|
%SDL2Opts% -lSDL2_image
|
|
%SDL2Opts% -lSDL2_image
|
|
@SET RETCODE=%ERRORLEVEL%
|
|
@SET RETCODE=%ERRORLEVEL%
|
|
|
|
+
|
|
@EXIT /b %RETCODE%
|
|
@EXIT /b %RETCODE%
|