How to make several classes into one library?

Hi rooters,

:confused: I have defined several classes, each has a .h file and a .cxx file, now I want to build a library including these classes. The question is: How to write the Makefile( is there any example available?), and what files else are needed?


see $ROOTSYS/Makefile or $ROOTSYS/test/Makefile