Upstream information:
The assumption with the Makefile is always that it needs to be adjusted manually to a lesser or greater degree. It was never meant to be fully automated; this might change in the future but it will need some development that is not on our roadmap for this year.