Isolate cpp library into header, source. Make targets for lib .o, test executable.