1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Added Tremor Ogg decoder, removed libvorbis from Makefile. OGG audio working perfectly.

Tremor is extremly similar to libogg but only uses integers (and doesn't provide an encoder). The playing problem with libvorbis was probably a float-precision related issue.

No need for make build-all.
This commit is contained in:
Reuh 2015-12-29 17:25:34 +01:00
parent c053997f96
commit e39fcc6c7b
97 changed files with 16571 additions and 15 deletions

View file

@ -29,9 +29,9 @@ include $(DEVKITARM)/3ds_rules
#---------------------------------------------------------------------------------
TARGET := ctruLua
BUILD := build
SOURCES := source libs/lua-5.3.2/src
SOURCES := source libs/lua-5.3.2/src libs/tremor
DATA := data
INCLUDES := include libs/lua-5.3.2/src libs/lzlib
INCLUDES := include libs/lua-5.3.2/src libs/lzlib libs/tremor
#ROMFS := romfs
APP_TITLE := ctruLua
@ -55,7 +55,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LIBS := -lsfil -ljpeg -lsftd -lfreetype -lpng -lz -lsf2d -lctru -lvorbisfile -lvorbis -logg -lm
LIBS := -lsfil -ljpeg -lsftd -lfreetype -lpng -lz -lsf2d -lctru -logg -lm
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
@ -142,7 +142,7 @@ $(BUILD):
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
build-portlibs:
@make -C libs/3ds_portlibs zlib freetype libjpeg-turbo libpng libogg libvorbis
@make -C libs/3ds_portlibs zlib freetype libjpeg-turbo libpng libogg
build-sf2dlib:
@make -C libs/sf2dlib/libsf2d build