Add libopus to project

Use https://github.com/deltabeard/3ds_portlibs to obtain libopus.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2016-12-04 13:31:14 +00:00
parent ce38c691db
commit 6c43254b7e
2 changed files with 3 additions and 2 deletions

View File

@@ -53,13 +53,13 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LIBS := -lctru -lm
LIBS := -lctru -lm -lopus
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(CTRULIB)
LIBDIRS := $(CTRULIB) $(PORTLIBS)
#---------------------------------------------------------------------------------

View File

@@ -10,6 +10,7 @@
#include <3ds.h>
#include <dirent.h>
#include <errno.h>
#include <opus/opus.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>