rework build make files for hdr project to simplify adding headers for new platform