aboutsummaryrefslogtreecommitdiff
path: root/games/makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-02-21 00:44:55 +0100
committerraysan5 <raysan5@gmail.com>2016-02-21 00:44:55 +0100
commit9f5efeb309e15999a2b057dc7670169cf8d7d1b8 (patch)
treeda84ca471f7e94157809b8510a89a9eb47f91404 /games/makefile
parent182054b6620302ba7a3ce857cf6bd403408d01db (diff)
downloadraylib-9f5efeb309e15999a2b057dc7670169cf8d7d1b8.tar.gz
raylib-9f5efeb309e15999a2b057dc7670169cf8d7d1b8.zip
Update makefiles
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