How do I make my own libraries?
Posted: Fri Aug 31, 2018 3:11 pm
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...
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...