Here is a Makefile for building various portlibs for 3DS. You need to first build zlib and install it. Then you can build the other portlibs.
$ make zlib
$ make install-zlib
$ make <targets>
$ make install
This will install the portlibs to $DEVKITPRO/portlibs/armv6k
. If this is a
privileged location, you will need to sudo make install-zlib
and sudo make install
in order for the portlibs to be installed.
These are the supported libs (used by cpp3ds):
- freetype (requires zlib)
- libjpeg-turbo
- libpng (requires zlib)
- zlib
- libmad
- libogg
- libvorbis