makefile rework and fpm: wip