gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Making a library with the default makefiles

#150291 - RickA - Fri Feb 01, 2008 4:46 pm

Is there an easy way to specify to the default makefile templates that I want to make a library (.a file) rather than an executable? Or will I need to roll my own makefile for that?

#150293 - eKid - Fri Feb 01, 2008 4:56 pm

There's a template in the examples for building arm9 libraries. (examples/nds/templates/arm9lib)

#150297 - RickA - Fri Feb 01, 2008 6:02 pm

Thanks again. That too worked nicely.