Implemented a simple CARTA.
Changed order in Makefile.

Otherwise a linker error happens when library is used.