mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-29 10:19:18 -05:00
Added stb_vorbis lib compilation
This commit is contained in:
@ -93,7 +93,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# define all object files required
|
# 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,
|
# typing 'make' will invoke the first target entry in the file,
|
||||||
# in this case, the 'default' target entry is raylib
|
# in this case, the 'default' target entry is raylib
|
||||||
@ -139,6 +139,10 @@ models.o: models.c
|
|||||||
# compile audio module
|
# compile audio module
|
||||||
audio.o: audio.c
|
audio.o: audio.c
|
||||||
$(CC) -c audio.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
|
$(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
|
# compile utils module
|
||||||
utils.o: utils.c
|
utils.o: utils.c
|
||||||
|
|||||||
Reference in New Issue
Block a user