add makefile and global config file