aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/web/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/web/makefile')
-rw-r--r--docs/examples/web/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/examples/web/makefile b/docs/examples/web/makefile
index c9028138..0d12cb09 100644
--- a/docs/examples/web/makefile
+++ b/docs/examples/web/makefile
@@ -498,6 +498,15 @@ audio_sound_loading: audio_sound_loading.c
audio_music_stream: audio_music_stream.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) --preload-file resources/audio/guitar_noodling.ogg
+# compile [audio] example - music stream playing (OGG)
+audio_module_playing: audio_module_playing.c
+ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) --preload-file resources/audio/mini1111.xm
+
+# compile [audio] example - music stream playing (OGG)
+audio_raw_stream: audio_raw_stream.c
+ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) -s ALLOW_MEMORY_GROWTH=1
+
+
# fix dylib install path name for each executable (MAC)
fix_dylib:
ifeq ($(PLATFORM_OS),OSX)