Compiling class calling another class

root [0] .L classA.cxx++ root [1] .L classB.cxx++
See also [url]Simple way to create and merge shared libraries?