summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2019-05-10 20:51:48 +0200
committerraysan5 <[email protected]>2019-05-10 20:51:48 +0200
commit561c486ceb2d1563fbcd0bec60a1f1d9e94cb7c0 (patch)
tree4c512c925573c3e7c9b52007e0dd6cd430b3e3e5 /templates
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 'templates')
-rw-r--r--templates/advance_game/Makefile2
-rw-r--r--templates/simple_game/Makefile2
-rw-r--r--templates/standard_game/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile
index e475f72c..3f3c65fb 100644
--- a/templates/advance_game/Makefile
+++ b/templates/advance_game/Makefile
@@ -224,7 +224,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation
- LDLIBS = -lraylib -lopengl32 -lgdi32
+ LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm
# Required for physac examples
#LDLIBS += -static -lpthread
diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile
index 9f27a429..3fc78b9c 100644
--- a/templates/simple_game/Makefile
+++ b/templates/simple_game/Makefile
@@ -224,7 +224,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation
- LDLIBS = -lraylib -lopengl32 -lgdi32
+ LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm
# Required for physac examples
#LDLIBS += -static -lpthread
diff --git a/templates/standard_game/Makefile b/templates/standard_game/Makefile
index 4333c8b8..51d2b2dc 100644
--- a/templates/standard_game/Makefile
+++ b/templates/standard_game/Makefile
@@ -224,7 +224,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation
- LDLIBS = -lraylib -lopengl32 -lgdi32
+ LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm
# Required for physac examples
#LDLIBS += -static -lpthread