Browse Source

Added new example to makefile

raysan5 9 years ago
parent
commit
40fbe9da81
1 changed files with 5 additions and 0 deletions
  1. 5 0
      examples/Makefile

+ 5 - 0
examples/Makefile

@@ -209,6 +209,7 @@ EXAMPLES = \
     shaders_standard_lighting \
     shaders_standard_lighting \
     audio_sound_loading \
     audio_sound_loading \
     audio_music_stream \
     audio_music_stream \
+    audio_module_playing \
     fix_dylib \
     fix_dylib \
 
 
 
 
@@ -435,6 +436,10 @@ audio_sound_loading: audio_sound_loading.c
 audio_music_stream: audio_music_stream.c
 audio_music_stream: audio_music_stream.c
 	$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
 	$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
 
 
+# compile [audio] example - module playing (OGG)
+audio_module_playing: audio_module_playing.c
+	$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
+
 # fix dylib install path name for each executable (MAC)
 # fix dylib install path name for each executable (MAC)
 fix_dylib:
 fix_dylib:
 ifeq ($(PLATFORM_OS),OSX)
 ifeq ($(PLATFORM_OS),OSX)