From 9f5efeb309e15999a2b057dc7670169cf8d7d1b8 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 21 Feb 2016 00:44:55 +0100 Subject: Update makefiles --- games/makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games/makefile') 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 -- cgit v1.2.3