convert install.sh to Makefile