Create sql makefile and install script