updated makefiles

integrated third party libraries rgp-log and rgp-chord