add Makefile for initialization and update.