[PD-dev] using template Makefile for pdogg and maxlib