@echo off
REM Build the RPG Menu on Windows (double-click or run from cmd).
setlocal
set PATH=C:\raylib\w64devkit\bin;%PATH%
set RAYLIB=C:\raylib\raylib\src

gcc -O2 -Wall -o RPG-MenuV09.exe ^
  RPG-MenuV09.c common.c ^
  tab_classes.c tab_stats.c tab_attributes.c tab_skills.c ^
  tab_quests.c tab_guild.c tab_register.c tab_comingsoon.c ^
  -I"%RAYLIB%" -L"%RAYLIB%" -lraylib -lopengl32 -lgdi32 -lwinmm

if %errorlevel%==0 (echo Build OK -^> RPG-MenuV09.exe) else (echo Build FAILED)
endlocal
