aboutsummaryrefslogtreecommitdiff
path: root/games/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/makefile')
-rw-r--r--games/makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/makefile b/games/makefile
index 792642ce..2d992896 100644
--- a/games/makefile
+++ b/games/makefile
@@ -70,7 +70,7 @@ else
CFLAGS = -O2 -Wall -std=c99
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
- CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3
+ CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 --shell-file ../../templates/web_shell/shell.html
#-s ASSERTIONS=1 # to check for memory allocation errors (-O1 disables it)
#-s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing
#-s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB)
@@ -98,13 +98,13 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
else
LFLAGS = -L. -L../src
# external libraries to link with
-# GLFW3
- LFLAGS += -L../external/glfw3/lib/$(LIBPATH)
+ # GLFW3
+ LFLAGS += -L../external/glfw3/lib/$(LIBPATH)
ifneq ($(PLATFORM_OS),OSX)
# OpenAL Soft
LFLAGS += -L../external/openal_soft/lib/$(LIBPATH)
- # GLEW - Not required any more, replaced by GLAD
- #LFLAGS += -L../external/glew/lib/$(LIBPATH)
+ # GLEW: Not used, replaced by GLAD
+ #LFLAGS += -L../../external/glew/lib/$(LIBPATH)
endif
endif
@@ -137,7 +137,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
LIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lopenal
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
- # just adjust the correct path to libraylib.bc
+ # NOTE: Set the correct path to libraylib.bc
LIBS = ../src/libraylib.bc
endif