summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-11-18 13:39:57 +0100
committerraysan5 <[email protected]>2016-11-18 13:39:57 +0100
commitf7b706263a820034a93ab88e7582b7001819d8d0 (patch)
treedec39c4e98c119b151be962ba3706042b285c39a /src/Makefile
parentc7f0350182b6c0b46daaaff232789acc4c7ab4f1 (diff)
downloadraylib-f7b706263a820034a93ab88e7582b7001819d8d0.tar.gz
raylib-f7b706263a820034a93ab88e7582b7001819d8d0.zip
Some code tweaks
Correcting details that pop-up when testing the different platforms
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2433428f..2e263189 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -39,7 +39,7 @@ PLATFORM ?= PLATFORM_DESKTOP
SHARED ?= NO
# define NO to use OpenAL Soft as static library (or shared by default)
-SHARED_OPENAL ?= NO
+SHARED_OPENAL ?= YES
# on PLATFORM_WEB force OpenAL Soft shared library
ifeq ($(PLATFORM),PLATFORM_WEB)
@@ -188,6 +188,11 @@ else
# compile raylib static library for desktop platforms.
ar rcs $(OUTPUT_PATH)/libraylib.a $(OBJS)
@echo "libraylib.a generated (static library)!"
+ ifeq ($(SHARED_OPENAL),NO)
+ @echo "expected OpenAL Soft static library linking"
+ else
+ @echo "expected OpenAL Soft shared library linking"
+ endif
endif
endif