Modify makefile to support install function.