[PD-dev] flext makefile for all platforms