[PD] makefile for mac osx