Skip to content

Commit ce26e26

Browse files
authored
Added missing textures_image_kernel example in web makefile (#3555)
* Added missing textures_image_kernel example in web makefile * Added missing --preload-file for textures_image_kernel --------- Co-authored-by: zap <[email protected]>
1 parent 7e60227 commit ce26e26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/Makefile.Web

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ TEXTURES = \
396396
textures/textures_gif_player \
397397
textures/textures_image_drawing \
398398
textures/textures_image_generation \
399+
textures/textures_image_kernel \
399400
textures/textures_image_loading \
400401
textures/textures_image_processing \
401402
textures/textures_image_rotate \
@@ -702,6 +703,10 @@ textures/textures_image_drawing: textures/textures_image_drawing.c
702703

703704
textures/textures_image_generation: textures/textures_image_generation.c
704705
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864
706+
707+
textures/textures_image_kernel: textures/textures_image_kernel.c
708+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
709+
--preload-file textures/resources/cat.png@resources/cat.png
705710

706711
textures/textures_image_loading: textures/textures_image_loading.c
707712
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \

0 commit comments

Comments
 (0)