Page 1 of 1

How do I make my own libraries?

Posted: Fri Aug 31, 2018 3:11 pm
by piku
Hello! I am a recovering C# coder who's spent far too long in Visual Studio where this is quite easy to do.

Suppose I have a folder full of C source and appropriate headers (they can go in an "includes" folder if that makes life easier), how do I turn it into a static library that I can link against in my projects?

Do I have to make my own Makefile, or has the devkitPro one (for the 3DS, if that matters) got a special "compile this as a library" option in it somewhere?

It's been so long since I did this...

Re: How do I make my own libraries?

Posted: Fri Aug 31, 2018 4:17 pm
by fincs
We have a project template for 3DS libraries, check it out:

https://github.com/devkitPro/3ds-exampl ... es/library