aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/web/makefile
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2017-04-07 00:49:49 +0200
committerRay <raysan5@gmail.com>2017-04-07 00:49:49 +0200
commit795c6b465cc0a2f4676dcf0c98f5d69209fed26a (patch)
tree2bc73409d1d924cb916c09db656274f1ab02dc26 /docs/examples/web/makefile
parentc47b04a2c673f3073e2cc5a47d5aa1bce029e93e (diff)
downloadraylib-795c6b465cc0a2f4676dcf0c98f5d69209fed26a.tar.gz
raylib-795c6b465cc0a2f4676dcf0c98f5d69209fed26a.zip
Working on web examples
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)