From a29365ff2a4e597bf6cb046ea6d51bfa09e1df42 Mon Sep 17 00:00:00 2001 From: Ray San Date: Fri, 20 Oct 2017 18:24:50 +0200 Subject: Updated all web examples for raylib 1.8 --- examples/web/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/web/Makefile') diff --git a/examples/web/Makefile b/examples/web/Makefile index 6b77559..4f09a16 100644 --- a/examples/web/Makefile +++ b/examples/web/Makefile @@ -191,7 +191,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) LDLIBS = -lraylib -lglfw3 -lopengl32 -lgdi32 # Define required flags and libs for OpenAL Soft STATIC/SHARED usage - # NOTE: ALLIBS flag only required for raylib Win32 SHARED library building + # NOTE: Flag only required for raylib Win32 SHARED library building ifeq ($(OPENAL_LIBTYPE),STATIC) LDLIBS += -lopenal32 -lwinmm CFLAGS += -DAL_LIBTYPE_STATIC -Wl,-allow-multiple-definition @@ -415,7 +415,8 @@ shapes/shapes_lines_bezier: shapes/shapes_lines_bezier.c # compile [textures] example - raylib logo texture loading textures/textures_logo_raylib: textures/textures_logo_raylib.c - $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ + --preload-file textures/resources/raylib_logo.png@resources/raylib_logo.png # compile [textures] example - image loading and conversion to texture textures/textures_image_loading: textures/textures_image_loading.c @@ -460,7 +461,7 @@ textures/textures_image_drawing: textures/textures_image_drawing.c # compile [textures] example - texture image generation textures/textures_image_generation: textures/textures_image_generation.c - $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s ALLOW_MEMORY_GROWTH=1 # compile [text] example - sprite fonts loading text/text_sprite_fonts: text/text_sprite_fonts.c -- cgit v1.2.3