#62444 - Vich - Wed Nov 30, 2005 11:33 pm
How do you create a static library instead of a .nds file? My guess is that you have to change your makefile and/or ds_rules and/or base_rules file, but I have no clue how.
I've tried many parameters, but I'm partially guessing them from pages like:
- http://forum.gbadev.org/viewtopic.php?t=1513&highlight=library+makefile
- http://lists.gnu.org/archive/html/help-gplusplus/2004-10/msg00015.html
This is the makefile that I use.
What I basically want is:
- build library libA
- build library libB, using libA
- build a program that uses libB
I've googled and searched the gcc webpage, but can't find a clear answer. Anyone?
I've tried many parameters, but I'm partially guessing them from pages like:
- http://forum.gbadev.org/viewtopic.php?t=1513&highlight=library+makefile
- http://lists.gnu.org/archive/html/help-gplusplus/2004-10/msg00015.html
This is the makefile that I use.
What I basically want is:
- build library libA
- build library libB, using libA
- build a program that uses libB
I've googled and searched the gcc webpage, but can't find a clear answer. Anyone?