add Makefile
fix variable name
add test map file