From 795c6b465cc0a2f4676dcf0c98f5d69209fed26a Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 7 Apr 2017 00:49:49 +0200 Subject: Working on web examples --- docs/examples/web/makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/examples/web/makefile') 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) -- cgit v1.2.3