diff options
| author | Ray San <[email protected]> | 2017-10-20 18:24:50 +0200 |
|---|---|---|
| committer | Ray San <[email protected]> | 2017-10-20 18:24:50 +0200 |
| commit | a29365ff2a4e597bf6cb046ea6d51bfa09e1df42 (patch) | |
| tree | ccfdee66ea672a6094167ff0de67a30028302a91 /examples/web/Makefile | |
| parent | 7447deed40f1deabee659155a30b2d6aa454dafd (diff) | |
| download | raylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.tar.gz raylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.zip | |
Updated all web examples for raylib 1.8
Diffstat (limited to 'examples/web/Makefile')
| -rw-r--r-- | examples/web/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
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 |
