@echo off
echo building game...
gcc game.c external\glad.c ^
-Iincludes -Iexternal ^
-Lexternal\lib -lglfw3 -lgdi32 -lopengl32 -luser32 -lshell32 -lkernel32 -lws2_32 ^
-o game.exe
if %errorlevel% neq 0 (
echo build error
exit /b %errorlevel%
)
echo build is good :)