summaryrefslogtreecommitdiffhomepage
path: root/templates/advance_game/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'templates/advance_game/Makefile')
-rw-r--r--templates/advance_game/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile
index 8875f379..8983ab26 100644
--- a/templates/advance_game/Makefile
+++ b/templates/advance_game/Makefile
@@ -246,6 +246,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --preload-file resources # specify a resources folder for data compilation
+ # --source-map-base # allow debugging in browser with source map
CFLAGS += -s USE_GLFW=3 -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 --preload-file resources
# Define a custom shell .html and output extension
@@ -274,9 +275,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
INCLUDE_PATHS += -I/usr/local/include
endif
ifeq ($(PLATFORM_OS),LINUX)
- # Reset everything.
- # Precedence: immediately local, installed version, raysan5 provided libs -I$(RAYLIB_H_INSTALL_PATH) -I$(RAYLIB_PATH)/release/include
- INCLUDE_PATHS = -I$(RAYLIB_H_INSTALL_PATH) -I. -I$(RAYLIB_PATH)/src -I$(RAYLIB_PATH)/release/include -I$(RAYLIB_PATH)/src/external
+ INCLUDE_PATHS = -I$(RAYLIB_H_INSTALL_PATH) -I. -I$(RAYLIB_PATH)/src -I$(RAYLIB_PATH)/src/external
endif
endif
@@ -307,10 +306,6 @@ ifeq ($(PLATFORM),PLATFORM_RPI)
LDFLAGS += -L/opt/vc/lib
endif
-ifeq ($(PLATFORM),PLATFORM_DRM)
- LDFLAGS += -lGLESv2 -lEGL -ldrm -lgbm
-endif
-
# Define any libraries required on linking
# if you want to link libraries (libname.so or libname.a), use the -lname
ifeq ($(PLATFORM),PLATFORM_DESKTOP)