remove unused variable
add Makefile