aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2019-05-10 20:51:48 +0200
committerraysan5 <raysan5@gmail.com>2019-05-10 20:51:48 +0200
commit561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0 (patch)
tree4c512c925573c3e7c9b52007e0dd6cd430b3e3e5 /examples
parent2ee3b2576c15bbaabcb09821976e3a341d1a04cd (diff)
downloadraylib-561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0.tar.gz
raylib-561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0.zip
Add WinMM library for linkage
Now it's required on Windows if not using a busy wait loop
Diffstat (limited to 'examples')
-rw-r--r--examples/raylib_compile_execute.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/raylib_compile_execute.bat b/examples/raylib_compile_execute.bat
index aaae4056..4b356419 100644
--- a/examples/raylib_compile_execute.bat
+++ b/examples/raylib_compile_execute.bat
@@ -25,7 +25,7 @@ cmd /c if exist %NAMEPART%.exe del /F %NAMEPART%.exe
:: -std=c99 : Use C99 language standard
:: -Wall : Enable all compilation Warnings
:: -mwindows : Compile a Windows executable, no cmd window
-gcc -o %NAMEPART%.exe %FILENAME% %RAYLIB_RES_FILE% -s -O2 -I%RAYLIB_INCLUDE_DIR% -I%RAYLIB_LIB_DIR% -lraylib -lopengl32 -lgdi32 -std=c99 -Wall -mwindows
+gcc -o %NAMEPART%.exe %FILENAME% %RAYLIB_RES_FILE% -s -O2 -I%RAYLIB_INCLUDE_DIR% -I%RAYLIB_LIB_DIR% -lraylib -lopengl32 -lgdi32 -lwinmm -std=c99 -Wall -mwindows
:: .
:: > Executing program
:: -------------------------