convert install.sh to makefile