aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-07-31 12:39:45 +0200
committerraysan5 <raysan5@gmail.com>2015-07-31 12:39:45 +0200
commit39e22e98cec397b630c720f851d9cc58b616bc16 (patch)
treed14f8719a1ca4141021051edd213639ad85d688c /src/makefile
parente8fa630c282f38d9f3b09e00c4cdd47d27fa8ddc (diff)
downloadraylib-39e22e98cec397b630c720f851d9cc58b616bc16.tar.gz
raylib-39e22e98cec397b630c720f851d9cc58b616bc16.zip
Added stb_vorbis lib compilation
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index 11bbea9d..67123a9a 100644
--- a/src/makefile
+++ b/src/makefile
@@ -93,7 +93,7 @@ else
endif
# define all object files required
-OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o
+OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
# typing 'make' will invoke the first target entry in the file,
# in this case, the 'default' target entry is raylib
@@ -139,6 +139,10 @@ models.o: models.c
# compile audio module
audio.o: audio.c
$(CC) -c audio.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
+
+# compile stb_vorbis library
+stb_vorbis.o: stb_vorbis.c
+ $(CC) -c stb_vorbis.c -O1 $(INCLUDES) -D$(PLATFORM)
# compile utils module
utils.o: utils.c