Prepare Makefile for polar estimation during build.
TODO: Fix polar.py to use commandline arguments and maybe clean it up a bit.