7
0
mirror of https://gitlab.com/raylibtemplates/rt.git synced 2026-06-17 14:25:13 -04:00

Initial Commit

This commit is contained in:
maple
2025-11-03 02:11:38 +00:00
commit e6c3ec5406
1235 changed files with 593872 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
::@echo off
:: > Setup required Environment
:: -------------------------------------
set RAYLIB_DIR=C:\raylib
set COMPILER_DIR=C:\raylib\mingw\bin
set PATH=%PATH%;%COMPILER_DIR%
set FILE_NAME=%1
set NAME_PART=%FILE_NAME:~0,-2%
cd %~dp0
:: .
:: > Cleaning latest build
:: ---------------------------
cmd /c if exist %NAME_PART%.exe del /F %NAME_PART%.exe
:: .
:: > Compiling program
:: --------------------------
gcc -o %NAME_PART%.exe %FILE_NAME% %RAYLIB_DIR%\src\raylib.rc.data -s -O2 -I../../src -Iexternal -lraylib -lopengl32 -lgdi32 -lwinmm -std=c99 -Wall -mwindows
:: .
:: . > Executing program
:: -------------------------
cmd /c if exist %NAME_PART%.exe %NAME_PART%.exe